Skip to main content
POST
/
api
/
serviceAccounts
/
v1
/
serviceAccounts
cURL
curl --request POST \
  --url https://api.example.com/api/serviceAccounts/v1/serviceAccounts \
  --header 'Content-Type: application/json' \
  --header 'X-Domino-Api-Key: <api-key>' \
  --data '
{
  "email": "<string>",
  "username": "<string>"
}
'
{
  "metadata": {
    "notices": [
      "<string>"
    ],
    "requestId": "<string>"
  },
  "serviceAccount": {
    "id": "<string>",
    "username": "<string>",
    "email": "<string>",
    "idpId": "<string>"
  }
}

Authorizations

X-Domino-Api-Key
string
header
required

Body

application/json

The service account to create

email
string
required

the email that should receive notifications on behalf of the service account

username
string
required

the username of the service account

Response

Creates a service account

metadata
object
required
serviceAccount
object
required