Assign new roles to users with the Anaplan Financial Consolidation API.
Method and endpoint
PUT
/user/{username}/roles
Parameters
Parameter | Description |
{username} | The Financial Consolidation app username, not the user's email address. |
Curl example
curl --location 'https://fluenceapi-prod.fluence.app/api/v2305.1/user/john.doe@fluence.app/roles' \
--header 'TENANT: CustomerTenant' \
--header 'X-API-TOKEN: 73ca5973-ce3e-4cc6-b2d4-b09a99770ccf'
[
"Controller",
"Reviewer"
]
Response
For example, if a user already had the Admin
role, a successful response to the above request would list all the roles, existing and new:
[
"Admin",
"Controller",
"Reviewer"
]