Help Search

Delete a permission

To remove a resource from your permission list, you can make the following request:

DELETE /permissions/<permissionId>.json?api-version=v2

Possible responses

Code Description
200 OK
Request went through. Given resource has been added to permission
400 Bad Request
If the given permissionId is not a uuid
403 Authentication Failure
The user making the request is not authenticated
404 Not Found
If the permission does not exist.

Response examples

Success

Upon success this will return a json response like:

{
    "header": {
        "id": "baae23fe-5ee9-46fa-8e19-1d6dc5fb2dd1",
        "status": "success",
        "servertime": 1555067661,
        "title": "app_permissions_delete_success",
        "action": "8fb44391-6155-5bff-a3d5-57dea22c9894",
        "message": "The permission was deleted.",
        "url": "/permissions/288050d2-25b0-4c04-a959-2fc6f4011208.json?api-version=v2",
        "code": 200
    },
    "body": null
}

Last updated

This article was last updated on April 23rd, 2019.

If you are familiar with the high level API concepts and only looking for the endpoint implementation details, there is a repository with the latest OpenAPI 2.0 specifications (compatible with Swagger).

OpenAPI Specs