Skip to navigation

Update an assignment

Beta

Set the on-site window (mobilizeOn, demobilizeOn, YYYY-MM-DD; On Watch means something expires before the window ends) or demobilize / re-activate the assignment. A demobilized assignment is no longer re-checked; project certificates keep being collected until the project’s tracking window ends. Re-activating queues a check. 409 for a removed assignment. Requires projects:write.

Authentication

AuthorizationBearer

Session JWT or API key (ak_...)

Path parameters

assignmentIdstringRequiredformat: "uuid"

The assignment (project membership) id returned when the subcontractor was attached to the project.

Request

This endpoint expects an object.
assignmentStatusenumOptional
Allowed values:
mobilizeOndate or nullOptional
demobilizeOndate or nullOptional

Response

The updated assignment
dataobjectOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error