Directory
Enable a directory
Activates a directory within an organization, allowing it to synchronize users and groups with the connected Directory provider
patch/api/v1/organizations/{organization_id}/directories/{id}:enable
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
Success
Example response
{
"enabled": true,
"error_message": "The directory is already enabled"
}