Remove a API resource role from application

DELETE /api/applications/{applicationId}/roles/{roleId}

Remove a API resource role from the specified application.

Path parameters

  • applicationId string Required

    The unique identifier of the application.

  • roleId string Required

    The unique identifier of the role.

Responses

  • The API resource role has been removed from the application successfully.

  • Bad Request

  • Unauthorized

  • Forbidden

  • Not Found

  • Unprocessable Content

DELETE /api/applications/{applicationId}/roles/{roleId}
curl \
 -X DELETE https://[tenant_id].logto.app/api/applications/{applicationId}/roles/{roleId} \
 -H "Authorization: Bearer $ACCESS_TOKEN"