Skip to main content
DELETE
/
v3beta1
/
organizations
/
{org_id}
/
secrets
/
{secret_id}
Delete an org-level secret
curl --request DELETE \
  --url https://api.devin.ai/v3beta1/organizations/{org_id}/secrets/{secret_id} \
  --header 'Authorization: Bearer <token>'
{
  "access_type": "org",
  "created_at": 123,
  "created_by": "<string>",
  "is_sensitive": true,
  "key": "<string>",
  "note": "<string>",
  "secret_id": "<string>",
  "secret_type": "cookie"
}

Permissions

Requires a service user with the ManageOrgSecrets permission at the organization level.

Authorizations

Authorization
string
header
required

Service User credential (prefix: cog_)

Path Parameters

secret_id
string
required

Response

Successful Response

access_type
enum<string>
required
Available options:
org,
personal
created_at
integer
required
created_by
string
required
is_sensitive
boolean
required
key
string | null
required
note
string | null
required
secret_id
string
required
secret_type
enum<string>
required
Available options:
cookie,
key-value,
totp