Skip to main content

Retrieve a single permission by its ID

GET 

/permissions/:id

Returns the permission record identified by {id}. Use this when you already have a specific permission id (obtained from POST /permissions or GET /permissions) and need its full details; for browsing the full catalog, use GET /permissions instead.

Preconditions: the caller must be authenticated and hold the READ_PERMISSION permission for the tenant.

On success, returns the matching permission (id, resource, action, description); createdAt and updatedAt are always null in the current implementation. Returns 404 when no permission with that id exists for the tenant.

Request​

Responses​

The permission matching the given id, including its resource, action, and description. Note: createdAt and updatedAt are always null in the current implementation.