Skip to content

Remove a secret

DELETE
/api/orgs/{org}/projects/{project}/secrets/{name}
curl --request DELETE \
--url https://api-dev.wrktr.com/api/orgs/example/projects/example/secrets/example \
--header 'Authorization: Bearer <token>'

Owners only.

org
required
string
project
required
string
name
required
string

Success

Media typeapplication/json
object
ok
required
boolean
Examplegenerated
{
"ok": true
}

Unauthorized

Media typeapplication/json
object
_tag
required
string
Allowed values: Unauthorized
message
required
string
Example
{
"_tag": "Unauthorized"
}

Forbidden

Media typeapplication/json
object
_tag
required
string
Allowed values: Forbidden
message
required
string
Example
{
"_tag": "Forbidden"
}

ProjectNotFound | NotFound

Media typeapplication/json
Any of:
object
_tag
required
string
Allowed values: ProjectNotFound
project
required
string
Example
{
"_tag": "ProjectNotFound"
}