Creates a storage limit exclusion for a Namespace
POST
/api/v4/namespaces/{id}/storage/limit_exclusion
Creates a Namespaces::Storage::LimitExclusion
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
reason
required
The reason the Namespace is being excluded
string
Examplegenerated
{ "reason": "example"}Responses
Section titled “Responses”Created
Media typeapplication/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