Skip to content

Delete App Secret

DELETE
/apps/{app_id}/secrets/{secret_key}

Stop declaring a secret.

Removes the DECLARATION, not the value: the value lives in the secret manager and this surface never had it to delete. A builder revoking a credential has to do it there as well, which the description says so nobody assumes this call was enough.

404 when the app declares no such key, so a typo is not reported as a successful removal of something else.

Authorizations

Parameters

Path Parameters

app_id
required
string
secret_key
required
string

Header Parameters

X-Org-Id
Any of:
string

Responses

200

Successful Response

object
data
required
object
key
additional properties
any
pagination
Any of:
object
has_next
required

Whether there are more pages

boolean
limit
required

Items per page

integer
next_cursor
Any of:
string
page
required

Current page number (1-indexed)

integer
total
required

Total number of items

integer

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string