Assign API resource roles to application
POST
/api/applications/{applicationId}/roles
Assign API resource roles to the specified application. The API resource roles will be added to the existing API resource roles.
Path parameters
-
applicationId string Required
The unique identifier of the application.
POST /api/applications/{applicationId}/roles
curl \
-X POST https://[tenant_id].logto.app/api/applications/{applicationId}/roles \
-H "Content-Type: application/json" \
-d '{"roleIds":["string"]}'
Request example
{
"roleIds": [
"string"
]
}