Access

Delete a user-owned Postdot API key

DELETE
/api/api-keys/{keyId}

Authorization

sessionCookie
cookiebetter-auth.session_token<token>

The Better Auth email/password session cookie used by the web application.

Path Parameters

keyId*string
Length1 <= length

Response Body

Response for status 200

application/json
  1. response
deleted*boolean
Example Request
curl -X DELETE 'https://postbot.example/api/api-keys/string'
Example Response
{
  "deleted": true
}

Was this page helpful?