You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/fundamentals/account/account-security/scim-setup/troubleshooting.mdx
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ sidebar:
9
9
10
10
If you have removed all Super Administrators mistakenly, you can restore the role to account member(s) using the Account API Token you created for SCIM provisioning.
11
11
12
-
First, fetch a list of account members and find the member ID for the user you want to restore Super Admin to via [list members].(/api/resources/accounts/subresources/members/methods/list/)
12
+
First, fetch a list of account members and find the member ID for the user you want to restore Super Admin to via [list members](/api/resources/accounts/subresources/members/methods/list/).
13
13
14
14
```curl
15
15
curl -X GET "https://api.cloudflare.com/client/v4/accounts/{account_id}/members" \
@@ -24,10 +24,12 @@ curl -X PUT "https://api.cloudflare.com/client/v4/accounts/{account_id}/members/
24
24
-H "Authorization: Bearer YOUR_SCIM_AOT" \
25
25
-H "Content-Type: application/json" \
26
26
-d '{
27
-
"roles": ["33666b9c79b9a5273fc7344ff42f953d"]
27
+
"roles": [
28
+
{
29
+
"id": "33666b9c79b9a5273fc7344ff42f953d"
30
+
}
31
+
]
28
32
}'
29
33
```
30
34
31
-
:::note
32
-
33666b9c79b9a5273fc7344ff42f953d is the Super Administrator role ID
33
-
:::
35
+
The value `33666b9c79b9a5273fc7344ff42f953d` is the role ID of Super Administrator.
0 commit comments