Skip to main content
PUT
/
v0
/
quickstarts
/
{id}
/
assignments
/
bulk
Bulk reassign assignments
curl --request PUT \
  --url https://api.avidoai.com/v0/quickstarts/{id}/assignments/bulk \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --header 'x-application-id: <api-key>' \
  --data '
{
  "ids": [
    "123e4567-e89b-12d3-a456-426614174000"
  ],
  "assignedTo": "user_789012"
}
'
{
  "count": 5
}

Authorizations

x-api-key
string
header
required

Your unique Avido API key

x-application-id
string
header
required

Your unique Avido Application ID

Path Parameters

id
string<uuid>
required

The quickstart ID

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Example:

"234e4567-e89b-12d3-a456-426614174000"

Body

application/json

Request body for bulk reassigning assignments to a single user

ids
string<uuid>[]
required

IDs of the assignments to reassign

Required array length: 1 - 1000 elements

Assignment ID to reassign

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
assignedTo
string
required

User ID to assign every listed assignment to

Required string length: 1 - 255
Example:

"user_789012"

Response

Successfully updated assignments

Response for bulk assignment operations

count
integer
required

Number of assignments affected

Required range: 0 <= x <= 9007199254740991
Example:

5