You can use the body bellow:
{
"name": "",
"description": "",
"defaultRoleId": "",
"permissions": [],
"permissionPolicies": [
{
"domain": "",
"entityName": "",
"policyName": "",
"policyDescription": "",
"actionSet": [],
"namedResources": [],
"allowConditions": true,
"resourceConditionNode": {
"variableName": "",
"operator": "",
"operands": [
{
"user": {},
"queue": {},
"value": "",
"type": ""
}
],
"conjunction": "",
"terms": [
{
"variableName": "",
"operator": "",
"operands": [
{}
],
"conjunction": "",
"terms": [
{}
]
}
]
}
}
],
"userCount": 0,
"roleNeedsUpdate": true,
"default": true,
"base": true
}
Att,
------------------------------
Breno Canyggia Ferreira Marreco
https://www.linkedin.com/in/brenocfm-40b62182/------------------------------
Original Message:
Sent: 07-29-2024 07:11
From: Rihab BEN MALEK
Subject: export roles and permissions
Hello,
thank you for your response.
I should load empty schema and paste the response of the get API ? or use postman?
------------------------------
Rihab
Original Message:
Sent: 07-26-2024 13:32
From: Breno Canyggia Ferreira Marreco
Subject: export roles and permissions
Hi Rihab,
You can use API for it.
To copy the role of the organization, GET /api/v2/authorization/roles
To create this same role in another organization, API: POST /api/v2/authorization/roles
Att,
------------------------------
Breno Canyggia Ferreira Marreco
https://www.linkedin.com/in/brenocfm-40b62182/
Original Message:
Sent: 07-26-2024 11:36
From: Rihab BEN MALEK
Subject: export roles and permissions
Hello,
is there a way to export/import roles and permissions between two different organizations under the same zone?
thx
#API/Integrations
#PlatformAdministration
------------------------------
Rihab
------------------------------