Unsupported content

 

This version of the product has reached end of support. The documentation is available for your convenience. However, you must be logged in to access it. You will not be able to leave comments.

Assign LDAP groups to a BAO group

Assigns the specified LDAP group (or multiple groups) to a specified BMC Atrium Orchestrator group.

This topic includes the following sections:

Request

HTTP method: PUT

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

PropertyTypeRequiredDescriptionValuesDefault value

baogroup

StringYesBAO group to which the LDAP groups are assignedUser-definedNA
groupsString arrayYes

List of LDAP groups to assign to the BAO group

User-definedNA

Example request body

{
  "baogroup":"aoadmin",
  "groups":[“windowsAdmins”,“linuxAdmins"]
}

Response

If successful, this method assigns the specified LDAP group (or multiple groups) to the specified BMC Atrium Orchestrator group.

Response body properties

PropertyDescription
statusStatus of the request
messageMessage 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 codeMessageDescription
200OKRequest succeeded
 One or more mapping for the BAO group already existsOne or more of the groups specified to be assigned to the BAO group is already assigned to the BAO group
400 

Bad request

An error occurred while uploading the resource.

401 Unauthorized
405 Method not allowed


Related topics

HTTP request and response headers

Format of API examples

Retrieve LDAP group assignments for a BAO group

Remove LDAP groups from a BAO group

This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Comments