Pi Durable Platformdocs
ReferenceAPI keys

Revoke one of the caller's keys; takes effect on the next request

DELETE
/v1/me/api-keys/{keyId}

Path Parameters

keyId*string
Formatuuid

Response Body

Success

application/json
  1. response
data*
curl -X DELETE 'https://agents.example.com/v1/me/api-keys/497f6eca-6276-4993-bfeb-53cbbbba6f08'
{  "data": {    "ok": true  }}