Replace an existing API key. This generates a new key and its ID, which are necessary for future API calls related to key management.
keyId string required Example keyId parameter
Accept Example Content-Type Example success boolean timestamp string requestId string data object https://cloud.hostup.se/api/keys/{keyId}/roll curl -X POST "https://cloud.hostup.se/api/keys/key_EXAMPLE0003/roll" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"key_id": "string",
"key": "string",
"name": "string",
"description": "string",
"scopes": [
"string"
],
"dns_permissions": [
"string"
],
"created_at": "string",
"message": "string"
}
}