Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ sidebar:

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.

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

```curl
curl -X GET "https://api.cloudflare.com/client/v4/accounts/{account_id}/members" \
Expand All @@ -24,10 +24,12 @@ curl -X PUT "https://api.cloudflare.com/client/v4/accounts/{account_id}/members/
-H "Authorization: Bearer YOUR_SCIM_AOT" \
-H "Content-Type: application/json" \
-d '{
"roles": ["33666b9c79b9a5273fc7344ff42f953d"]
"roles": [
{
"id": "33666b9c79b9a5273fc7344ff42f953d"
}
]
}'
```

:::note
33666b9c79b9a5273fc7344ff42f953d is the Super Administrator role ID
:::
The value `33666b9c79b9a5273fc7344ff42f953d` is the role ID of Super Administrator.
Loading