curl --request DELETE \
--url https://api.checklyhq.com/v1/private-locations/{id} \
--header 'Authorization: Bearer <token>'{
"statusCode": 401,
"error": "Unauthorized",
"message": "Bad Token",
"attributes": {}
}Permanently removes a private location.
curl --request DELETE \
--url https://api.checklyhq.com/v1/private-locations/{id} \
--header 'Authorization: Bearer <token>'{
"statusCode": 401,
"error": "Unauthorized",
"message": "Bad Token",
"attributes": {}
}The Checkly Public API uses API keys to authenticate requests. You can get the API Key here. Your API key is like a password: keep it secure!
Authentication to the API is performed using the Bearer auth method in the Authorization header and using the account ID.
For example, set Authorization header while using cURL: curl -H "Authorization: Bearer [apiKey]" "X-Checkly-Account: [accountId]"
Your Checkly account ID, you can find it at https://app.checklyhq.com/settings/account/general
No Content
Was this page helpful?