Skip to main content
DELETE
/
api
/
organizations
/
v1
/
organizations
/
{organizationId}
/
user
Remove a user from an org
curl --request DELETE \
  --url https://api.example.com/api/organizations/v1/organizations/{organizationId}/user \
  --header 'X-Domino-Api-Key: <api-key>'
{
  "metadata": {
    "notices": [
      "<string>"
    ],
    "requestId": "<string>"
  },
  "org": {
    "id": "623132867a0af0281c01a69c",
    "members": [
      {
        "userId": "6234c9542bc6731e3471ade8"
      }
    ],
    "name": "MyOrg",
    "defaultEnvironmentId": "6231327c7a0af0281c01a65f"
  }
}

Authorizations

X-Domino-Api-Key
string
header
required

Path Parameters

organizationId
string
required

Id of organization to add a user to. This is the id of the org in the users collection, not the organizations collection.

Query Parameters

memberToRemoveId
string
required

Id of user to remove from org.

Response

Success

metadata
object
required
org
object
required