SCIM troubleshooting
Last updated Jul 14, 2026
Restore Super Administrator after group misconfiguration
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.
curl -X GET "https://api.cloudflare.com/client/v4/accounts/{account_id}/members" \
-H "Authorization: Bearer YOUR_SCIM_AOT" \
-H "Content-Type: application/json"
Then restore the Super Admin role to that member via update member
curl -X PUT "https://api.cloudflare.com/client/v4/accounts/{account_id}/members/{member_id}" \
-H "Authorization: Bearer YOUR_SCIM_AOT" \
-H "Content-Type: application/json" \
-d '{
"roles": [
{
"id": "33666b9c79b9a5273fc7344ff42f953d"
}
]
}'
The value 33666b9c79b9a5273fc7344ff42f953d is the role ID of Super Administrator.
Update email domains after onboarding
We currently do not support updating email domains for users. This means that any SCIM PATCH/PUT operations that change email domains will be rejected. We recommend not using the email as the matching attribute if email domains are expected to change, and restarting provisioning manually.
Was this helpful?
YesNo
On this page
{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/fundamentals/account/account-security/scim-setup/troubleshooting/#page","headline":"SCIM troubleshooting","description":"Restore Super Administrator access and resolve common SCIM provisioning issues on your Cloudflare account.","url":"https://developers.cloudflare.com/fundamentals/account/account-security/scim-setup/troubleshooting/","inLanguage":"en","image":"https://developers.cloudflare.com/fundamentals/account/account-security/scim-setup/troubleshooting/og.png?v=9f4689ba9e6722a7","dateModified":"2026-07-14","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}
description: If you observe suspicious activity within your Cloudflare account, secure your account with these steps. title: Secure compromised account image: https://developers.cloudflare.com/fundamentals/account/account-security/secure-a-compromised-account/og.png?v=7acd703147ab66b0
Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/fundamentals/llms.txt
Use this file to discover all available pages before exploring further.
Docs