Skip to content

Commit 38e96bd

Browse files
mcescalanteMike Escalantepedrosousa
authored andcommitted
[Fundamentals] Fix curl payload and broken link in SCIM troubleshooting (#26360)
--------- Co-authored-by: Mike Escalante <[email protected]> Co-authored-by: Pedro Sousa <[email protected]>
1 parent 0cd76dc commit 38e96bd

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/content/docs/fundamentals/account/account-security/scim-setup/troubleshooting.mdx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ sidebar:
99

1010
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.
1111

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/).
1313

1414
```curl
1515
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/
2424
-H "Authorization: Bearer YOUR_SCIM_AOT" \
2525
-H "Content-Type: application/json" \
2626
-d '{
27-
"roles": ["33666b9c79b9a5273fc7344ff42f953d"]
27+
"roles": [
28+
{
29+
"id": "33666b9c79b9a5273fc7344ff42f953d"
30+
}
31+
]
2832
}'
2933
```
3034

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

Comments
 (0)