Delete a compliance profile
Deletes the profile and takes it out of every list. It is kept internally for the audit trail, but it can’t be read, edited or attached again, and there is no undelete.
A profile that subcontractors are still enrolled in can’t be deleted:
the response is 409 conflict with how many are enrolled. Detach each
one first with Detach a compliance profile
(or attach them to another profile), or send detachSubcontractors=true
to take them all off and delete in one step. Subcontractors enrolled
through a project are managed on the project and are never detached
here. To stop checking a single rule instead, pause it with
Update a requirement
(isActive: false).
Also 409 conflict: the organization’s default profile (new
subcontractors are enrolled in it automatically; make another profile
the default first), and a profile an active project uses (give the
project another profile or archive it first).
Requires scope compliance_profiles:write, plus subcontractors:write
with detachSubcontractors=true.
Authentication
Session JWT or API key (ak_...)
Path parameters
Query parameters
true takes every subcontractor off the profile (the same as
detaching each one; their enrollment history records it) and then
deletes it, all or nothing.
