Search + K

Command Palette

Search for a command to run...

Sign In

Delete an organization secret

DELETE /orgs/{org}/codespaces/secrets/{secret_name}
Copy endpoint
https://api.github.com

Deletes an organization development environment secret using the secret name.

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

Parameters

path Path Parameters

Name Type
org required

The organization name. The name is not case sensitive.

string
secret_name required

The name of the secret.

string

Responses

204

Response

unknown

Client Errors

404 application/json

Resource not found

interface BasicError {
message?: string;
documentation_url?: string;
url?: string;
status?: string;
}