SailAway
(Nai Saelee)
1
I’m trying to disable an account.
I’m not sure what or where to get the externalVerificationId or if these values are needed.
{
"externalVerificationId": "3f9180835d2e5168015d32f890ca1581",
"forceProvisioning": false
}
Tried and get a id but the account is still active.
What am I doing wrong?
You shouldn’t need to provide the externalVerificationId
. Have you tried disabling the account with an empty request body?
2135797
(gangireddy swetha)
3
I tried sending an API call without body but getting 400 error, Returned if the request body is invalid.
sharvari
(Sharvari Shah)
4
Can you try the API as below, replace :id with actual account id
POST 'https://sailpoint.api.identitynow.com/v3/accounts/:id/disable'
Content-Type: application/json
Authorization: Bearer <TOKEN>
Body - raw json -
{
"externalVerificationId": "",
"forceProvisioning": false
}
If that still doesn’t work, try the old CC api ( can be deprecated anytime)
POST {{api-url}}/cc/api/account/provision/:id
Body - form data
disabled:true
ethompson
(Edward Thompson)
5
@2135797 Try with an empty object body: “{}”. I get the same error if I set the body to none:
If not, can you give an example of the account with its id, the source type, the request headers.
Example that works:
Body: { }
Headers: ContentType: application/json
User’s account in UI: (#4) - Disabled
1 Like
2135797
(gangireddy swetha)
6
Thank you for reply @sharvari and @ethompson
system
(system)
Closed
7
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.