Skip to main content
PATCH
Update Assignment

Update Assignment

Change the data owner details of an existing assignment. Only send the fields you want to change.
The organization_id and facility_id cannot be changed after creation. To reassign to a different org or facility, delete the assignment and create a new one.

Request

Headers

string
required
Your API key for authenticationExample: sk_live_1234567890abcdef
string
required
Your organization UUIDExample: a8315ef3-dd50-43f8-b7ce-d839e68d51fa

Path Parameters

string
required
UUID of the parent dataset
string
required
UUID of the assignment to update

Body Parameters

All fields are optional.
string
New data owner email address
string
New Dcycle user UUID for the data owner

Response

Returns the updated assignment (HTTP 200).
string
Assignment UUID.
string
Parent dataset UUID.
string
Organization UUID the assignment targets.
string | null
Facility UUID if the assignment is facility-scoped.
string | null
User UUID of the data owner (if they have a Dcycle account).
string
Email address of the recipient.
datetime
Creation timestamp (ISO 8601).
string | null
Last update timestamp (ISO 8601).

Example

Successful Response

Common Errors

401 Unauthorized

Cause: Missing or invalid API key

403 Forbidden

Cause: The authenticated user is not a member of the organization

404 Not Found

Cause: Assignment not found

List Assignments

View all assignments

Delete Assignment

Remove an assignment