Skip to main content
POST
/
api
/
v1
/
accounts
/
createServiceAccount
Create a service account.
curl --request POST \
  --url https://api.revong.com/api/v1/accounts/createServiceAccount \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "mail": "<string>",
  "ownerId": "<string>",
  "ownerType": "USER",
  "metaData": {},
  "advancedData": {}
}'

Authorizations

Authorization
string
header
required

Bearer token with Platform JWT token or API Key.

Body

application/json
name
string
required

You need to provide name of the user.

mail
string
required

You can provide mail of external service account.

ownerId
string
required

You can provide owner of the group, required if ownerType is assigned.

ownerType
enum<string>
required

Owner type.

Available options:
USER,
GROUP
metaData
object
advancedData
object

Response

OK.