Skip to main content
DELETE
/
projects
/
{projectIdOrName}
/
jwt-keys
/
{keyId}
Delete a JWT key
curl --request DELETE \
  --url https://api.withampersand.com/v1/projects/{projectIdOrName}/jwt-keys/{keyId} \
  --header 'X-Api-Key: <api-key>'
{
  "type": "https://httpstatuses.com/404",
  "title": "Not Found",
  "status": 404,
  "detail": "JWT key not found",
  "remedy": "check the key ID and project ID are both correct, and try again"
}

Authorizations

X-Api-Key
string
header
required

Path Parameters

projectIdOrName
string
required

Ampersand Project ID or name.

keyId
string
required

The JWT key ID.

Response

JWT key deleted successfully (no content)