Users
Rotate the user's API Key
Rotate the user's API key in case the current API Key is compromised
delete/users/{userID}/api-keys
Path parameters
userIDstring required
ID of the user to update
Response
OK
Example response
{
"data": {
"active_phone_id": "32343a19-da5e-4b1b-a767-3298a73703cb",
"api_key": "x-api-key",
"created_at": "2022-06-05T14:26:02.302718+03:00",
"email": "name@email.com",
"id": "WB7DRDWrJZRGbYrv2CKGkqbzvqdC",
"notification_heartbeat_enabled": true,
"notification_message_status_enabled": true,
"notification_newsletter_enabled": true,
"notification_webhook_enabled": true,
"subscription_ends_at": "2022-06-05T14:26:02.302718+03:00",
"subscription_id": "8f9c71b8-b84e-4417-8408-a62274f65a08",
"subscription_renews_at": "2022-06-05T14:26:02.302718+03:00",
"subscription_status": "on_trial",
"timezone": "Europe/Helsinki",
"updated_at": "2022-06-05T14:26:10.303278+03:00"
},
"message": "Request handled successfully",
"status": "success"
}