/
/Phase Two Admin REST API
ChangesDocsSign in
Sign in
  • Docs
  • History
  • Schema
Attributes5
Events13
Identity Providers13
Organization2
Organization Domains1
Organization Invitation6
Organization Memberships7
Organization Roles11
  • get/{realm}/orgs/{orgId}/rolesGet roles for this organization
  • put/{realm}/orgs/{orgId}/rolesCreate new roles for this organization
  • post/{realm}/orgs/{orgId}/rolesCreate a new role for this organization
  • patch/{realm}/orgs/{orgId}/rolesDelete this organization roles
  • get/{realm}/orgs/{orgId}/roles/{name}Get role for this organization by name
  • put/{realm}/orgs/{orgId}/roles/{name}Update role for this organization
  • delete/{realm}/orgs/{orgId}/roles/{name}Delete this organization role
  • get/{realm}/orgs/{orgId}/roles/{name}/usersGet users with this organization role
  • get/{realm}/orgs/{orgId}/roles/{name}/users/{userId}Check if a user has an organization role
  • put/{realm}/orgs/{orgId}/roles/{name}/users/{userId}Grant a user an organization role
  • delete/{realm}/orgs/{orgId}/roles/{name}/users/{userId}Revoke an organization role from a user
Organization SCIM4
Organizations15
Users7
    Organization Roles

    Delete this organization role

    delete/{realm}/orgs/{orgId}/roles/{name}

    Request

    • Base URL: https://app.phasetwo.io/realms
    • URL: https://app.phasetwo.io/realms/{realm}/orgs/{orgId}/roles/{name}
    • Auth: HTTP bearer

    Response

    success

    Changes

    No recorded changes to this operation across all 50 revisions of this API.