Skip to main content

Unsynchronize an existing user

POST 

/api/web/v1/syncusers/unsync

Unsynchronize a user. Caller requires the USERS:EDIT permission. An Identity as a Service directory must be configured and associated with an Identity as a Service Gateway 5.0 or later. If you unsynchronize a user using this API, the user becomes locally managed. In order to set the user back to an AD Sync user, the user should be synchronized again using the sync API. Using an AD Sync crawl will only re-synchronize the user if the user is updated in AD (i.e., the user's last update time in AD is updated) or a new custom user attribute mapping is added for the directory (this resets the last update time for all users such that all AD users will be re-synchronlized).

Request

Body

required

    id stringrequired

    The id of the user to be unsynchronized. The type of the id is specified by idType.

    idType string

    Possible values: [UUID, USERID, EXTERNALID]

    The type of the id identifying the user. The value can be one of UUID (the user's internal UUID) or USERID (the user's userId). The value of EXTERNALID is currently not supported. If not specified, this defaults to USERID.

Responses

Successful

Loading...