Remove users from a domain

Use this API to remove users from a domain.

Resource Information

Method

URL

Required authentication

DELETE

/V1/CMDB/Domain/Users

Yes

Parameters

Name

Description

Token*required
(header)

Place the token received from the API Log in to get an authentication token.

Request*required
(body)

The body contains the following parameters:

domainId*(string): the ID of the domain that you remove users from.

users*(list): a list of users you want to remove.

Example:

{
  "domainId""3e75247a-309c-4231-96a5-823b6cb1e78d",
  "users": {
    "user1","user2"
    "
  }
}

Response

Parameter

Type

Description

Example

statusCode

integer

The returned status code of executing the API.

{
  "statusCode"790200,
  "statusDescription""success"
}

statusDescription

string

The explanation of the status code.