Skip to navigation

Detach a compliance profile from a subcontractor

Detaches an organization-level compliance profile from the subcontractor. The profile’s compliance records are kept for history but no longer count. Project-level attachments are managed with Detach a subcontractor from a project.

Returns 400 for the organization’s default profile (it cannot be detached) and 404 when the profile has no active organization-level attachment to the subcontractor. Requires scope subcontractors:write.

Authentication

AuthorizationBearer

Session JWT or API key (ak_...)

Path parameters

subcontractorIdstringRequiredformat: "uuid"
profileIdstringRequiredformat: "uuid"

Response

Profile detached
dataobjectOptional

Errors

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