curl --request PUT \
--url https://api.revong.com/api/v1/accounts/{userId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"version": 123,
"name": "<string>",
"surname": "<string>",
"mail": "<string>",
"phone": "<string>",
"ownerId": "<string>",
"ownerType": "USER",
"metaData": {},
"advancedData": {}
}
'ROLES: USER_WRITE,USER_ADMIN USER: true SERVICE ACCOUNT: true
curl --request PUT \
--url https://api.revong.com/api/v1/accounts/{userId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"version": 123,
"name": "<string>",
"surname": "<string>",
"mail": "<string>",
"phone": "<string>",
"ownerId": "<string>",
"ownerType": "USER",
"metaData": {},
"advancedData": {}
}
'Bearer token with Platform JWT token or API Key.
You must provide current version.
You can to provide name of the user.
You can to provide surname of the user.
Corporate email of the user (must be valid).
You can to provide phone number of the user (must be valid), it should include region e.g. +48...
You can provide owner of the group, required if ownerType is assigned.
Owner type.
USER, GROUP OK.