Skip to main content
Version: Next

Update authorization

PATCH 

/authorizations/:ownerKey

Manage the permissions assigned to the authorization.

Request

Path Parameters

    ownerKey int64required

    The key of the owner of the authorization.

Body

required
    action string

    Possible values: [ADD, REMOVE]

    Indicates if permissions should be added or removed.

    resourceType object

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

    permissions object[]

    The permissions to add/remove.

  • Array [
  • permissionType object

    Specifies the type of permissions.

    resourceIds string[]

    A list of resource IDs the permission relates to.

  • ]

Responses

The authorization was patched successfully.

Loading...