Skip to content

Update a User Sync Job State

Request

Updates the state of a user sync job for an Active Directory connection

Security
bearerAuth
Path
team_namestringrequired

The name of your Team

ad_connection_idstringrequired

The UUID of an AD connection

ad_user_sync_task_settings_idstringrequired

The UUID of an existing user sync job

Bodyapplication/json
is_activeboolean

If true, enables the user sync job

curl -i -X POST \
  'https://app.scaleft.com/v1/teams/{team_name}/integrations/ad_connections/{ad_connection_id}/user_sync_task_settings/{ad_user_sync_task_settings_id}/state' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "is_active": true
  }'

Responses

No Content