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
Session JWT or API key (ak_...)
