Set Key Expiration
PUT/api/v1/key/:id/set-expiration
Set the expiry for a key in UTC format. 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.
- application/json
Body
required
ExpirationUtc date-timerequired
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...