Skip to main content
POST
/
api
/
v3
/
teams
/
{team_uuid}
/
domains
Add domain
curl --request POST \
  --url https://app.plugchoice.com/api/v3/teams/{team_uuid}/domains \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "domain": "b"
}'
{}

Authorizations

Authorization
string
header
required

See the documentation for more information.

Path Parameters

team_uuid
string
required

Body

application/json
domain
string
required

Must match the regex /^[a-zA-Z0-9][a-zA-Z0-9.-]*.[a-zA-Z]{2,}$/. Must not be greater than 255 characters.

Example:

"b"

Response

201 - application/json
object | null

Domain created

The response is of type object.