Authorizations
The Bearer Token generated on the Cloud UI.
Path Parameters
The domain identifier
Response
DomainResource
curl --request POST \
--url https://app.laravel.cloud/api/domains/{domain}/verify \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "<string>",
"type": "domains",
"attributes": {
"name": "<string>",
"type": "root",
"hostname_status": "pending",
"ssl_status": "pending",
"origin_status": "pending",
"redirect": "root_to_www",
"dns_records": {
"ssl": [
{
"type": "CNAME",
"name": "<string>",
"value": "<string>"
}
],
"pre_verification": {
"type": "TXT",
"name": "<string>",
"value": "<string>"
},
"origin": {
"type": "A",
"name": "<string>",
"value": "<string>"
}
},
"wildcard": {
"hostname_status": "pending",
"ssl_status": "pending",
"origin_status": "pending",
"dns_records": {
"ssl": [
{
"type": "CNAME",
"name": "<string>",
"value": "<string>"
}
],
"pre_verification": {
"type": "TXT",
"name": "<string>",
"value": "<string>"
},
"origin": {
"type": "A",
"name": "<string>",
"value": "<string>"
}
}
},
"www": {
"hostname_status": "pending",
"ssl_status": "pending",
"origin_status": "pending",
"dns_records": {
"ssl": [
{
"type": "CNAME",
"name": "<string>",
"value": "<string>"
}
],
"pre_verification": {
"type": "TXT",
"name": "<string>",
"value": "<string>"
},
"origin": {
"type": "A",
"name": "<string>",
"value": "<string>"
}
}
},
"last_verified_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z"
},
"relationships": {
"environment": {
"data": {
"type": "environments",
"id": "<string>"
}
}
},
"links": {
"self": {
"href": "<string>",
"rel": "<string>",
"describedby": "<string>",
"title": "<string>",
"type": "<string>",
"hreflang": "<string>",
"meta": {}
}
}
}
}Checks whether the DNS records for a given domain have been properly set up.
curl --request POST \
--url https://app.laravel.cloud/api/domains/{domain}/verify \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "<string>",
"type": "domains",
"attributes": {
"name": "<string>",
"type": "root",
"hostname_status": "pending",
"ssl_status": "pending",
"origin_status": "pending",
"redirect": "root_to_www",
"dns_records": {
"ssl": [
{
"type": "CNAME",
"name": "<string>",
"value": "<string>"
}
],
"pre_verification": {
"type": "TXT",
"name": "<string>",
"value": "<string>"
},
"origin": {
"type": "A",
"name": "<string>",
"value": "<string>"
}
},
"wildcard": {
"hostname_status": "pending",
"ssl_status": "pending",
"origin_status": "pending",
"dns_records": {
"ssl": [
{
"type": "CNAME",
"name": "<string>",
"value": "<string>"
}
],
"pre_verification": {
"type": "TXT",
"name": "<string>",
"value": "<string>"
},
"origin": {
"type": "A",
"name": "<string>",
"value": "<string>"
}
}
},
"www": {
"hostname_status": "pending",
"ssl_status": "pending",
"origin_status": "pending",
"dns_records": {
"ssl": [
{
"type": "CNAME",
"name": "<string>",
"value": "<string>"
}
],
"pre_verification": {
"type": "TXT",
"name": "<string>",
"value": "<string>"
},
"origin": {
"type": "A",
"name": "<string>",
"value": "<string>"
}
}
},
"last_verified_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z"
},
"relationships": {
"environment": {
"data": {
"type": "environments",
"id": "<string>"
}
}
},
"links": {
"self": {
"href": "<string>",
"rel": "<string>",
"describedby": "<string>",
"title": "<string>",
"type": "<string>",
"hreflang": "<string>",
"meta": {}
}
}
}
}The Bearer Token generated on the Cloud UI.
The domain identifier
DomainResource
Show child attributes
Was this page helpful?