curl --request POST \
--url https://api.pxyz.dev/api/v0/domains \
--header 'Content-Type: application/json' \
--data '{
"tenantId": "<string>",
"name": "<string>"
}'
{
"id": "<string>",
"tenantId": "<string>",
"name": "<string>",
"primary": true,
"type": "protocol",
"verified": true,
"verificationRecordType": "<string>",
"verificationRecordDomain": "<string>",
"verificationRecordValue": "<string>",
"verificationRecordReason": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
Successful response
The response is of type object
.
curl --request POST \
--url https://api.pxyz.dev/api/v0/domains \
--header 'Content-Type: application/json' \
--data '{
"tenantId": "<string>",
"name": "<string>"
}'
{
"id": "<string>",
"tenantId": "<string>",
"name": "<string>",
"primary": true,
"type": "protocol",
"verified": true,
"verificationRecordType": "<string>",
"verificationRecordDomain": "<string>",
"verificationRecordValue": "<string>",
"verificationRecordReason": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
curl --request POST \
--url https://api.pxyz.dev/api/v0/domains \
--header 'Content-Type: application/json' \
--data '{
"tenantId": "<string>",
"name": "<string>"
}'
{
"id": "<string>",
"tenantId": "<string>",
"name": "<string>",
"primary": true,
"type": "protocol",
"verified": true,
"verificationRecordType": "<string>",
"verificationRecordDomain": "<string>",
"verificationRecordValue": "<string>",
"verificationRecordReason": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
Successful response
The response is of type object
.
curl --request POST \
--url https://api.pxyz.dev/api/v0/domains \
--header 'Content-Type: application/json' \
--data '{
"tenantId": "<string>",
"name": "<string>"
}'
{
"id": "<string>",
"tenantId": "<string>",
"name": "<string>",
"primary": true,
"type": "protocol",
"verified": true,
"verificationRecordType": "<string>",
"verificationRecordDomain": "<string>",
"verificationRecordValue": "<string>",
"verificationRecordReason": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}