Path parameters
-
id
string Required ID of the ApiKey to update
Body
Required
-
name
string Required -
expiration
string(date-time) If not set then this apikey work as non-expired api-key
PUT
/api/v1/api-key/{id}
curl \
--request PUT 'https://api.crawlora.com/api/v1/api-key/{id}' \
--header "x-api-key: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"name":"string","expiration":"2025-05-04T09:42:00Z"}'
Request examples
{
"name": "string",
"expiration": "2025-05-04T09:42:00Z"
}
Response examples (200)
{
"is_error": true,
"message": "string",
"correlator_id": "string",
"data": {
"id": "string",
"name": "string",
"values": "string",
"expiration": "string",
"created_at": "string",
"updated_at": "string"
}
}
Response examples (401)
{
"is_error": true,
"message": "string",
"correlator_id": "string",
"data": {}
}
Response examples (404)
{
"is_error": true,
"message": "string",
"correlator_id": "string",
"data": {}
}
Response examples (422)
{
"is_error": true,
"message": "string",
"correlator_id": "string",
"data": {}
}