POST
/
v1
/
apis.deleteKeys

Changelog

DateChanges
May 26 2024Introduced endpoint

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
apiId
string
required

The id of the api, that the keys belong to.

Minimum length: 1
permanent
boolean
default: false

Delete 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
required

The number of keys that were deleted