Update Cloud Dynamic User Groups
PUT/directory-sync/v1/cloud-dug-definition/group
Updates an existing Cloud Dynamic User Group. Use this endpoint to modify group attributes and constraints for an already created group.
This is used to edit an existing/created group.
How it Works
- The
objectGUIDin the request body identifies which group to update - The
objectGUIDis obtained from:- POST
/cloud-dug-definitionresponse when creating a group - GET
/cloud-dug-definition/groupresponse when listing groups
- POST
- Only the fields you want to update need to be included in the request
- Primary use case: updating
user_attribute_constrainto modify group membership criteria
Important Behavior
The Application Programming Interface returns HTTP 200 even when the objectGUID is not found. When the provided objectGUID doesn't exist, the response will be:
{
"success": true,
"result": {
"sync": "Not found cloud dug def group guid <objectGUID>",
"value": ""
}
}
Always check the result.sync field for error messages when processing the response.
Note: Set useNormalizedAttrs to "true" for external Application Programming Interface calls (SCM integration). Also, we do not allow the update of name related attributes (Name, Common-Name, Distinguished Name). This is also to match behavior of UI.
Request
Responses
- 200
- 400
- 401
- 500
Response from update operation.
Note: The API returns HTTP 200 even when the objectGUID is not found.
Check the result.sync field for error messages like "Not found cloud dug def group guid".
Invalid request parameters
Unauthorized - Invalid or missing authentication
Internal service error