Delete an assignment
Permanently deletes an assignment. This cannot be undone. Attempts to delete assignments with jobs that have invoices paid in full will fail.
Body
-
The ID of the desired assigment.
DELETE
/api/v1/assignments/{assignment_id}
curl \
-X DELETE https://api.1099policy.com/api/v1/assignments/{assignment_id} \
-H "Content-Type: application/json" \
-d '{"assignment":"an_G5biPgc5Hc"}'
Request example
{
"assignment": "an_G5biPgc5Hc"
}
Response examples (200)
{
"id": "an_G5biPgc5Hc",
"object": "assignment",
"deleted": true,
"deleted_at": "(utcnow)"
}