Skip to content

Create a User Sync Test Request

Request

Creates a test request for the specified 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

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}/test_request' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Created

Bodyapplication/json
ad_user_sync_task_settings_idstring, (regex)^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-...

The UUID of the associated user sync job

Example:"226a1922-a1c2-4316-b84d-da4vf2e76t2a"
ad_user_sync_task_settings_namestring

The name of the associated user sync job

Example:"User Sync Job - 1"
ad_user_sync_test_request_idstring

The UUID of the test run for the user sync job

created_atstring, (date-time)read-only

A timestamp that indicates when the job run was created

Example:"2022-08-25T00:00:00Z"
idstring, (regex)^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-...

The UUID of the results from a specific user sync job run

Example:"195v2024-d7t2-4311-b84d-ha8vj2eb6tsa"
statusobject

A summary of the user account changes that resulted from the user sync job run.

task_statestringread-only

The state of the specific user sync job. Possible values: running, done, error

Example:"done"
updated_atstring, (date-time)read-only

A timestamp that indicates when the job run was last updated

Example:"2022-08-25T00:10:00Z"
Response
{ "ad_user_sync_task_settings_id": "226a1922-a1c2-4316-b84d-da4vf2e76t2a", "ad_user_sync_task_settings_name": "User Sync Job - 1", "ad_user_sync_test_request_id": "string", "created_at": "2022-08-25T00:00:00Z", "id": "195v2024-d7t2-4311-b84d-ha8vj2eb6tsa", "status": { "summary": "string", "detailed_summary": "string" }, "task_state": "done", "updated_at": "2022-08-25T00:10:00Z" }