/r/{repoId}/restrictionset/{id}

DELETE
https://sample-api.d-velop.cloud
Deleting a restriction set
You can delete a restriction set that is no longer required from the repository by applying this request.
Parameters
repoId/string/required
The unique ID of the repository.
id/string/required
The unique ID of the restriction set.
Responses
204
The restriction set was deleted successfully.
No content
404
The restriction set with the specified ID could not be determined.
Content
Media type: application/json
{
  "code": {
    "type": "integer",
    "format": "int32",
    "example": 240100
  },
  "reason": {
    "type": "string",
    "nullable": true,
    "example": "Reason why the request failed."
  }
}
Media type: application/hal+json
{
  "code": {
    "type": "integer",
    "format": "int32",
    "example": 240100
  },
  "reason": {
    "type": "string",
    "nullable": true,
    "example": "Reason why the request failed."
  }
}
409
The restriction set is assigned to a permission. The Ids of the affected permission can be found in the response.
No content
Show operation

Language

const options = {method: 'DELETE', headers: {accept: 'application/json'}};

fetch('https://example.com/dmsconfig/r/REPOID/restrictionset/ID', options)
  .then(response => response.json())
  .then(response => console.log(response))
  .catch(err => console.error(err));