Skip to content

Creates a storage limit exclusion for a Namespace

POST
/api/v4/namespaces/{id}/storage/limit_exclusion

Creates a Namespaces::Storage::LimitExclusion

id
required
One of:
string

The ID or URL-encoded path of the namespace

Media type application/json
object
reason
required

The reason the Namespace is being excluded

string
nullable
Example generated
{
"reason": "example"
}

Created

Media type application/json
object
id
integer format: int64
namespace_id
integer format: int64
namespace_name
string
reason
string
Example
{
"id": 1,
"namespace_id": 123,
"namespace_name": "GitLab",
"reason": "a reason"
}

Bad request

Unauthorized

Forbidden

Not found