APIs
Delete all keys of an API
POST
/
v1
/
apis.deleteKeys
Changelog
Date | Changes |
---|---|
May 26 2024 | Introduced endpoint |
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
apiId
string
requiredThe id of the api, that the keys belong to.
permanent
boolean
default: falseDelete the keys permanently, if false the keys will be marked as deleted but not removed from the database. In either case, the keys will no longer be valid when verifying them.
Response
200 - application/json
deletedKeys
integer
requiredThe number of keys that were deleted
Was this page helpful?