I am attempting to import an AD Group using the vRealize Operations API (6.6.1), although the REST API documentation states that the usergroups POST is for creation of a new local user group, the data representation provides an authSourceId fiield, so I decide to send a test to see whether the group would get created and imported. When I send the POST, I receive an error stating that the method is not supported, although it is in the public API documentation
/suite-api/docs/rest/index.html
POST /api/auth/usergroups
Sanitized sample data:
{
"name" : "AD_GROUP",
"description" : "desc",
"authSourceId": "ad-auth-source-id",
"role-permissions" : [ {
"roleName" : "Administrator",
"traversal-spec-instances" : [ {
"adapterKind" : "VMWARE",
"resourceKind" : "vSphere World",
"name" : "vSphere Hosts and Clusters",
"selectAllResources" : true
} ],
"allowAllObjects" : true,
"others" : [ ],
"otherAttributes" : {
}
} ],
"others" : [ ],
"otherAttributes" : {
}
}
HTTP Status 405 – Method Not Allowed
Request method 'POST' not supported
Description: The method received in the request-line is known by the origin server but not supported by the target resource.
Any assistance would be greatly appreciated!