API ReferenceDomains
Insert Domain Mapping
This will unmap any other deployment to this domain
Path Parameters
domain*string
Request Body
application/json
deploymentId*string
Format
uuidResponse Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.freestyle.sh/domains/v1/mappings/string" \ -H "Content-Type: application/json" \ -d '{ "deploymentId": "a73c85a1-d857-491e-a6b2-51dce05de7a2" }'{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"domain": "string",
"deploymentId": "a73c85a1-d857-491e-a6b2-51dce05de7a2",
"ownershipId": "489905e0-55cc-4cf9-b77b-c4db4f323c05",
"createdAt": "2019-08-24T14:15:22Z"
}{
"message": "string"
}{
"message": "string"
}{
"message": "string"
}{
"message": "string"
}Delete a domain verification request
This deletes a Freestyle Domain Verification Request. This does not remove the domain from the account if it has already been verified, however the verification code will no longer be valid.
List Domain Mappings
List domain mappings for any query based on exact domain or domain ownership (the domain ownership that gave the right to use the domain)