Delete a Key
DELETE/api/v1/key/:id
Using this endpoint sets the key expiration to the current date and time, effectively disabling the key for further use. Note that this call does not return a 200 message but if you fetch your key again, you will see the new expiration date.
Request
Path Parameters
id stringrequired
Note that this field is returned as UniqueID from some calls.
Responses
- 400
- 404
- 500
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
TraceId string
Error
object
Code string
Message string
AdditionalInfo string
ExtraData
object
property name* string
{
"TraceId": "string",
"Error": {
"Code": "string",
"Message": "string",
"AdditionalInfo": "string",
"ExtraData": {}
}
}
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
TraceId string
Error
object
Code string
Message string
AdditionalInfo string
ExtraData
object
property name* string
{
"TraceId": "string",
"Error": {
"Code": "string",
"Message": "string",
"AdditionalInfo": "string",
"ExtraData": {}
}
}
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
TraceId string
Error
object
Code string
Message string
AdditionalInfo string
ExtraData
object
property name* string
{
"TraceId": "string",
"Error": {
"Code": "string",
"Message": "string",
"AdditionalInfo": "string",
"ExtraData": {}
}
}
Loading...