Remove organization application role

DELETE /api/organizations/{id}/applications/{applicationId}/roles/{organizationRoleId}

Remove a role from the application in the organization.

Path parameters

  • id string Required

    The unique identifier of the organization.

  • applicationId string Required

    The unique identifier of the application.

  • organizationRoleId string Required

    The unique identifier of the organization role.

Responses

  • 204

    The role was removed from the application in the organization successfully.

  • 400

    Bad Request

  • 401

    Unauthorized

  • 403

    Forbidden

  • 404

    Cannot find the record to delete.

  • 422

    The application is not associated with the organization.

DELETE /api/organizations/{id}/applications/{applicationId}/roles/{organizationRoleId}
curl \
 --request DELETE 'https://[tenant_id].logto.app/api/organizations/{id}/applications/{applicationId}/roles/{organizationRoleId}' \
 --header "Authorization: Bearer $ACCESS_TOKEN"