Applications

Update API resource roles for application

Update API resource roles assigned to the specified application. This will replace the existing API resource roles.

put/api/applications/{applicationId}/roles

Request

  • Base URL: https://[tenant_id].logto.app
  • URL: https://[tenant_id].logto.app/api/applications/{applicationId}/roles
  • Auth: OAuth 2 (client credentials, token URL /oidc/token, scopes: all)

Path parameters

applicationIdstring required

The unique identifier of the application.

Request body

roleIdsstring[] required

An array of API resource role IDs to update for the application.

Response

The API resource roles have been updated for the application successfully.

Changes

No recorded changes to this operation across all 8 revisions of this API.