Skip to main content
PATCH
/
api
/
v1
/
org
/
allowedEmailDomains
cURL
curl --request PATCH \
  --url http://api/v1/org/allowedEmailDomains \
  --header 'Content-Type: application/json' \
  --data '
{
  "role": "editor",
  "emailDomains": [
    "<string>"
  ],
  "projects": [
    {
      "role": "editor",
      "projectUuid": "<string>"
    }
  ]
}
'
{
  "results": {
    "projects": [
      {
        "role": "editor",
        "projectUuid": "<string>"
      }
    ],
    "role": "editor",
    "emailDomains": [
      "<string>"
    ],
    "organizationUuid": "<string>"
  },
  "status": "ok"
}

Body

application/json

the new allowed email domains

role
required
Available options:
editor
emailDomains
string[]
required
projects
object[]
required

Response

Ok

results
object
required
status
enum<string>
required
Available options:
ok