• Precios
  • Blog
Iniciar sesiónAgendá una demo
Create API key POSTDelete API key DELETEList API keys GET
DocumentaciónRecursosConstruir con AIAPI ReferenceWebhooks

Delete API key

Permanently revoke and delete an API key.

DELETE
/api-keys/{id}

Permanently revoke and delete an API key.

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/api-keys/string"
{  "id": "string",  "deleted": true,  "object": "string",  "livemode": true}
{  "error": {    "type": "string",    "code": "string",    "message": "string",    "param": "string",    "details": null,    "doc_url": "string"  }}
{  "error": {    "type": "string",    "code": "string",    "message": "string",    "param": "string",    "details": null,    "doc_url": "string"  }}
{  "error": {    "type": "string",    "code": "string",    "message": "string",    "param": "string",    "details": null,    "doc_url": "string"  }}
{  "error": {    "type": "string",    "code": "string",    "message": "string",    "param": "string",    "details": null,    "doc_url": "string"  }}
{  "error": {    "type": "string",    "code": "string",    "message": "string",    "param": "string",    "details": null,    "doc_url": "string"  }}
{  "error": {    "type": "string",    "code": "string",    "message": "string",    "param": "string",    "details": null,    "doc_url": "string"  }}

Create API key POST

Create a new API key. The full key is only returned once in the response.

List API keys GET

List API keys with cursor-based pagination. Keys are returned without the full secret.