Remove LDAP groups from a TrueSight Orchestration group
Removes the specified LDAP group (or multiple groups) assignment from the specified TrueSight Orchestration group.
This topic includes the following sections:
Request
HTTP method: DELETE
Request URL: https://<hostname>:<port>/baocdp/rest/groupmappings
Header: See HTTP-request-and-response-headers for header information, such as required authentication token.
Request body properties
Property | Type | Required | Description | Values | Default value |
|---|---|---|---|---|---|
baogroup | String | Yes | TrueSight Orchestration group from which the LDAP groups are to be removed | User-defined | NA |
groups | String array | Yes | List of LDAP groups to remove from the TrueSight Orchestration group | User-defined | NA |
Example request body
"baogroup":"aoadmin",
"groups":[“windowsAdmins”,“linuxAdmins"]
}
Response
If successful, this method removes the specified LDAP group (or multiple groups) assignment from the specified group.
Response body properties
Property | Description |
|---|---|
status | Status of the request |
message | Message associated with the request status |
Example response JSON
"baogroup":"aoadmin",
"groups":[“windowsAdmins”,“linuxAdmins"]
}
Status codes and messages
For more details about HTTP response codes, see HTTP response codes.
HTTP code | Message | Description |
|---|---|---|
200 | OK | Request succeeded |
One or more mapping for the TrueSight Orchestration group does not exist | One or more of the groups specified to be removed from the TrueSight Orchestration group assignment does not exist | |
400 | Bad request An error occurred while uploading the resource. | |
401 | Unauthorized | |
405 | Method not allowed |