Issues Unlinking SCIM user from Atlassian account
I have tried performing the curl command mentioned on https://developer.atlassian.com/cloud/admin/user-provisioning/rest/api-group-admin-apis/#api-admin-user-provisioning-v1-org-orgid-scimdirectoryid-scimdirectoryid-scimuserid-scimuserid-unlink-patch
but have not been getting any success. I've tried copying and pasting the curl command exactly how it is listed on the article, updating with our details - org ID, SCIM directory ID and API bearer token from our owner account (sysadmin@featurespace.co.uk) and it is failing.
I first got this error:
"curl: (35) schannel: next InitializeSecurityContext failed: CRYPT_E_NO_REVOCATION_CHECK (0x80092012) - The revocation function was unable to check revocation for the certificate."
Then I changed the curl command around a bit to this:
curl https://api.atlassian.com/admin/user-provisioning/v1/org/5accXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/get-scim-links-for-email/"Authorization: Bearer XXXXXXXXXXXXXXXXXXX"/"Accept: application/json"/"Content-Type: application/json"/"{"email": "graham.newland@featurespace.co.uk"}"
and got this error:
"curl: (3) URL rejected: Malformed input to a URL function"
So then I figured my company may be blocking the request.
So I then tried on a different machine and received the error:
"401 unauthorized"
I am not sure what I am doing wrong. Can I please get some assistance with this?
My colleague opened a ticket regarding the issues with provisioning Graham's (graham.newland@featurespace.co.uk) account, which led us to the knowledge article above. That ticket number is PCS-420637.
This is causing delays in Graham accessing Jira tickets and Confluence wiki articles so we would like some quick assistance on this please.