Classic APIs
ClassicOrganizationsApi
deleteOrgRole

deleteOrgRole

Deletes a role from a specific organization.

Parameters

NameTypeDescription
orgIdIdentifierThe ID of the organization to delete a role from.
roleIdIdentifierThe ID of the role to be deleted.

Example

const { data: success } = await ClassicOrganizationsApi.deleteOrgRole({
  orgId: "4244556007738484576",
  roleId: "3960412067952396265",
}); 

Endpoint

DELETE /v1/organizations/{orgId}/roles/{roleId}