Skip to navigation

Remove a subcontractor from your organization

Removes the subcontractor from your organization’s list: your enrollment is deleted and your compliance profiles stop tracking it. Afterwards every /v1/subcontractors/{subcontractorId} endpoint returns 404 for your organization. To stop monitoring a subcontractor but keep it on your list, set its enrollment status to inactive instead.

A subcontractor can be shared with other organizations, so the subcontractor itself is kept. In a sandbox organization, when no other organization enrolls it, the subcontractor and all of its data are deleted too (deleted: true), so you can re-create it from scratch. Production subcontractors are never deleted.

Adding the same subcontractor again later creates a new enrollment. Requires scope subcontractors:write.

Authentication

AuthorizationBearer

Session JWT or API key (ak_...)

Path parameters

subcontractorIdstringRequiredformat: "uuid"

Response

Subcontractor removed from your organization
dataobjectOptional

Errors

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