diff --git a/src/content/docs/fundamentals/account/account-security/scim-setup/troubleshooting.mdx b/src/content/docs/fundamentals/account/account-security/scim-setup/troubleshooting.mdx index 44b19ce6da6116f..f56b752274c2f1d 100644 --- a/src/content/docs/fundamentals/account/account-security/scim-setup/troubleshooting.mdx +++ b/src/content/docs/fundamentals/account/account-security/scim-setup/troubleshooting.mdx @@ -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" \ @@ -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.