Bulk update role permissions for an OAuth client

Allows an OAuth client to update multiple role permissions at once.

PUT
https://identity.krystal.io/api/v1/role_permissions/synchronize

If successful, this endpoint will return a 200 OK status.

Scopes

One of the following scopes are required to use this endpoint.

Arguments

The following arguments are supported for this endpoint.

Name Type Default Value

role_permissions Required

RolePermissionProperties Array None

Potential Errors

The following errors may occur during this request.

Details HTTP status

payload_too_large

The request is larger than the server is willing or able to process

413 Payload Too Large

validation_error

An error ocurred with the input provided

422 Unprocessable Entity

Returned Object

When the request is successful, you can expect an object matching the specification below to be returned.

{
    role_permissions: [ RolePermission {
        name: String
        description: String
        category: String
    } ]
}