Update API resource roles for application
Update API resource roles assigned to the specified application. This will replace the existing API resource roles.
Path parameters
-
The unique identifier of the application.
PUT
/api/applications/{applicationId}/roles
curl \
--request PUT https://[tenant_id].logto.app/api/applications/{applicationId}/roles \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"roleIds":["string"]}'
Request examples
{
"roleIds": [
"string"
]
}