Directory
Disable a directory
Stops synchronization of users and groups from a specified directory within an organization. This operation prevents further updates from the connected Directory provider
patch/api/v1/organizations/{organization_id}/directories/{id}:disable
Path parameters
organization_idstring required
A unique identifier for the organization. The value must begin with 'org_' and be between 1 and 32 characters long
idstring required
A unique identifier for a directory within the organization. The value must begin with 'dir_' and be between 1 and 32 characters long
Response
Successfully disabled the directory
Example response
{
"enabled": true,
"error_message": "The directory is already enabled"
}