From d8ed6f715b8ea86861189cd91c8a78ed94491668 Mon Sep 17 00:00:00 2001 From: Rachana Visavadiya Date: Thu, 28 Dec 2023 16:45:28 +0000 Subject: [PATCH] GITBOOK-1218: Update role endpoint - fix error --- .../user-management/roles-endpoints/update-role.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/reference/api/rest-api/endpoints/user-management/roles-endpoints/update-role.md b/reference/api/rest-api/endpoints/user-management/roles-endpoints/update-role.md index 566d1f66..7c211748 100644 --- a/reference/api/rest-api/endpoints/user-management/roles-endpoints/update-role.md +++ b/reference/api/rest-api/endpoints/user-management/roles-endpoints/update-role.md @@ -4,13 +4,9 @@
HTTP MethodURLRequires Auth
POST/api/v1/roles.updateyes
-{% hint style="info" %} -Permission required: `access-permissions` -{% endhint %} - ## Body Parameters -
KeyExample ValueDescription
roleId*646c431fa8c3a3ba32d0e1c4The role ID that you want to update.
name*newRoleThe updated name of the role.
scopeSubscriptionsThe updated scope of the role. The default value is Users.
descriptionRole descriptionA updated description for the role.
mandatory2fatrueWhether the role should have a mandatory 2FA. The default role is false.
+
KeyExample ValueDescription
roleId*646c431fa8c3a3ba32d0e1c4The role ID that you want to update.
name*newRoleThe updated name of the role.
scopeSubscriptionsThe updated scope of the role. The default value is Users.
descriptionRole descriptionUpdated description for the role.
mandatory2fatrueWhether the role should have a mandatory 2FA. The default value is false.
## Example Call