POST
/
cdn
/
logs_uploader
/
targets
/
{target_id}
/
validate
Validate target
curl --request POST \
  --url https://api.gcore.com/cdn/logs_uploader/targets/{target_id}/validate \
  --header 'Authorization: <api-key>'
{
  "status": "in_progress",
  "code": 123,
  "updated": "2023-11-07T05:31:56Z",
  "details": "<string>"
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Path Parameters

id
integer
required

Response

Successful.

status
enum<string>

Status of the validation.

Available options:
in_progress,
successful,
failed
code
integer

Error code indicating the type of validation error.

updated
string<date-time>

Time when the validation status was updated.

details
string

Error message if the validation failed.