younifyd
Menu

Create Or Update Many Users

Create Or Update Many Users

POST/api/v2/users/create_or_update_many

Use it in a workflow

  1. Add a step and choose the Zendesk connector.
  2. Pick the Create Or Update Many Users action (under Users).
  3. Fill in the fields below, then reference the result from later steps as {{createOrUpdateManyUsers.response.data}}.

Request

Request body

Enter the body as JSON in the step's Body field.

usersarray<oneOf>required
json
{
  "users": [
    null
  ]
}

Response

Returns 200 with an object. Read it in later steps with {{createOrUpdateManyUsers.response.data.<field>}}.

job_statusobject
idstring

Automatically assigned when the job is queued

job_typestring

The type of the job

messagestring

Message from the job worker, if any

progressinteger

Number of tasks that have already been completed

resultsoneOf

Result data from processed tasks. See [Results](#results) below

statusstring

The current status. One of the following: "queued", "working", "failed", "completed"

totalinteger

The total number of tasks this job is batching through

urlstring

The URL to poll for status updates

json
{
  "job_status": {
    "id": "82de0b044094f0c67893ac9fe64f1a99",
    "message": "Completed at 2018-03-08 10:07:04 +0000",
    "progress": 2,
    "results": [
      {
        "action": "update",
        "id": 244,
        "status": "Updated",
        "success": true
      },
      {
        "action": "update",
        "id": 245,
        "status": "Updated",
        "success": true
      }
    ],
    "status": "completed",
    "total": 2,
    "url": "https://example.zendesk.com/api/v2/job_statuses/82de0b0467893ac9fe64f1a99"
  }
}

Need more? See the Zendesk guide for connection setup and behaviour shared by every action.