PUT
/
profiles
/
domain
curl --request PUT \
  --url https://api.live.paisr.tech/{version}/profiles/domain \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "host": "example.com"
}'
{
  "success": true,
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
The details required to setup your domain.
host
string
required

Top-level or subdomain.

Example:

"example.com"

Response

200
application/json
Successfully updated domain.
success
boolean

Indicates if the request was successful.

message
string

A descriptive message regarding the result.