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": {}
}
'ROLES: USER_WRITE,USER_ADMIN USER: true SERVICE ACCOUNT: true
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": {}
}
'Bearer token with Platform JWT token or API Key.
You need to provide name of the user.
You can provide mail of external service account.
You can provide owner of the group, required if ownerType is assigned.
Owner type.
USER, GROUP OK.