Export selected roles
Last updated
Was this helpful?
Last updated
Was this helpful?
In this example, you can learn how to retrieve specific roles and their privileges from the source Tuum environment.
In this example, we will export specific roles and privileges.
The role codes we're exporting roles and privileges for are: ACCOUNTANT
and TEST_LT
.
The system will export only roles and associated privileges with a valid validity range.
To export specific roles and privileges, make the following API call.
https://auth-api.sandbox.tuumplatform.com/api/v1/roles/privileges/export
Below is an example request body of the API call for export roles.
Below you find an example response body to the API call above.
The selected valid roles ACCOUNTANT and TEST_LT with related privileges have been exported.