Applications

Replace application access-control rules

Replace the app-level access-control rule configuration for the specified application.

put/api/applications/{applicationId}/access-control

Request

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

Path parameters

applicationIdstring required

The unique identifier of the application.

Request body

userIdsstring[] required

An array of user IDs that can access the application.

userRoleIdsstring[] required

An array of user role IDs whose assigned users can access the application.

organizationIdsstring[] required

An array of organization IDs whose members can access the application.

Response

The app-level access-control rule configuration was replaced successfully.

userIdsstring[] required
userRoleIdsstring[] required
organizationIdsstring[] required

Changes

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