OCS User Sync API
Table of Contents
Introduction
This endpoint triggers user-sync for a specific user.
-
Path:
ocs/v2.php/cloud/user-sync/<userid>
-
Method:
POST
Requirements
This endpoint can only be executed by a user with admin privileges. We suggest creating a technical user who is in the admin group to run this command with.
Request Parameters
Attribute | Type | Description |
---|---|---|
|
string |
The id of the user to trigger a sync for. |
Returns
The request returns the following status codes.
Status Code | When… |
---|---|
|
The user sync was executed. |
|
The supplied user id is unknown. |
|
Multiple users have been found for the given user id. |