Update the name or userData of an existing Dynamic Person Group, and manage its members by adding or removing persons.

The properties keep unchanged if they are not in request body.

patch/dynamicpersongroups/{dynamicPersonGroupId}

Path parameters

dynamicPersonGroupIdstring required

ID of the dynamic person group.

Request body

namestring

User defined name, maximum length is 128.

userDatastring

Optional user defined data. Length should not exceed 16K.

addPersonIdsAzureCoreUuid[]

Array of personIds created by Person Directory "Create Person" to be added.

removePersonIdsAzureCoreUuid[]

Array of personIds created by Person Directory "Create Person" to be removed.

Response

A successful call returns an empty response body. The service has accepted the request and will start processing soon. The client can query the operation status and result using the URL specified in the 'Operation-Location' response header. The URL expires in 48 hours. The URL provides the status of when Person Directory "Get Dynamic Person Group References" will return the changes made in this request.

Changes