Help Search

View resource permissions

To get a list of permissions applied on a Resource, you can make the following request:

GET /permissions/resource/<resourceId>.json

Possible responses

Code Description
200 OK
Request went through. The response body contains a list of permission objects.
400 Bad Request
If the given resourceId is not a uuid
403 Authentication Failure
The user making the request is not authenticated
404 Not Found
If the resource does not exist


Success response

Upon success this will return a json response such as:

    "header": {
        "id": "b41a75a3-4139-44fb-87b8-beea815dc650",
        "status": "success",
        "servertime": 1555068081,
        "action": "1df624ae-eea2-5055-a202-d1068feefe04",
        "message": "The operation was successful.",
        "url": "\/permissions\/resource\/4d7adb92-0d85-56d7-8b92-e2b919ef8eb8.json",
        "code": 200
    "body": [
            "id": "0718ec88-a867-57b8-ad9f-671237554469",
            "aco": "Resource",
            "aco_foreign_key": "4d7adb92-0d85-56d7-8b92-e2b919ef8eb8",
            "aro": "User",
            "aro_foreign_key": "f848277c-5398-58f8-a82a-72397af2d450",
            "type": 1,
            "created": "2019-04-04T12:06:01+00:00",
            "modified": "2019-04-04T12:06:01+00:00"
            "id": "2208a4bb-9c47-5c07-a0ba-2d7344a3a9ae",
            "aco": "Resource",
            "aco_foreign_key": "4d7adb92-0d85-56d7-8b92-e2b919ef8eb8",
            "aro": "Group",
            "aro_foreign_key": "36563004-3f25-50c0-b22e-6554c3ccc4e7",
            "type": 7,
            "created": "2019-04-04T12:06:02+00:00",
            "modified": "2019-04-04T12:06:02+00:00"

Last updated

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

For another perspective on the API you browse the OpenAPI 2.0 specifications using the dedicated API reference site (Swagger UI).

API Reference

You can also find the latest OpenAPI 2.0 specifications directly on the dedicated repository.

OpenAPI Specs repository
🍪   Do you accept cookies for statistical purposes? (Read more) Accept No thanks!