Skip to main content
DELETE
Remove user permission

Authorizations

Authorization
string
header
required

API token from cargo-ai login. Send as Authorization: Bearer <token>.

Path Parameters

userUuid
string<uuid>
required

User identifier.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$

Body

application/json

Request body schema.

resourceUuid
string<uuid>
required

Resource the permission applies to.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$
effect
enum<string>
required

Whether to remove an allow or deny grant.

Available options:
allow,
deny

Response

Remove user permission

permissions
object[]
required