Skip to main content
DELETE
Delete an org security profile
Deletes an organization-owned security profile and returns 204.

Permissions

Requires a service user or personal access token with the ManageSecureModeProfiles permission at the organization level. Tokens used by a running Devin session are rejected, so a session cannot change the profiles that govern it.

Behavior

  • Returns 409 while the profile is still referenced by a default, playbook, automation, or session. The error detail lists the referencing resource types; remove those references and retry.

Authorizations

Authorization
string
header
required

Service User credential (prefix: cog_)

Path Parameters

profile_id
string
required
org_id
string
required

Organization ID (prefix: org-)

Example:

"org-abc123def456"

Response

Successful Response