Skip to main content
Version: Next

Create authorization

POST 

/authorizations

Create the authorization.

Request

Body

required
    ownerId stringrequired

    The ID of the owner of the permissions.

    ownerType object

    The type of the owner of permissions.

    resourceId stringrequired

    The ID of the resource to add permissions to.

    resourceType object

    The type of resource to add/remove permissions to/from.

    permissions object[]required

    The permissions to add.

Responses

The authorization was created successfully.

Schema
    authorizationKey string

    The key of the created authorization.

Loading...