and more in a single search tool across platforms. Read the announcement here. |
02/26/2024 12:03 AM
Hi All,
I am disabling zoom accounts but getting below error. Can you check what is wrong in the JSON. Please suggest what is wrong in my code.
DISABLE ACCOUNT JSON-
{
"call": [
{
"name": "call1",
"connection": "acctAuth",
"url": "https://api.zoom.us/v2/users/${account.name}/status",
"httpMethod": "PUT",
"httpParams": "{\"action\": \"deactivate\"}",
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json"
},
"httpContentType": "application/json",
"successResponses": {
"statusCode": [204]
}
}
]
}
Getting below error-
LOG-
Thanks
shweta
02/26/2024 05:02 AM
Hi @Shwet01 have you tested disabling the account from postman?
If its working can you pls share the postman screenshot?
02/26/2024 06:06 AM
02/26/2024 06:10 AM
@Shwet01 can you try the below JSON?
{
"call": [
{
"name": "call1",
"connection": "acctAuth",
"url": "https://api.zoom.us/v2/users/${account.name}/status",
"httpMethod": "PUT",
"httpParams": "{\"action\": \"deactivate\"}",
"httpHeaders": {
"Authorization": "${access_token}"
},
"httpContentType": "application/json",
"successResponses": {
"statusCode": [204]
}
}
]
}
02/26/2024 06:29 AM
02/26/2024 06:47 AM
@Shwet01 from the log snippet that you've attached, I can see 401 status code. Can you check your connection JSON if that is working with the correct credentials?
02/26/2024 07:28 AM
Hi @naveenss ,
Yes connection json is working because i am able to create zoom account with connection json.
Thanks
shweta
02/26/2024 08:07 AM
@Shwet01can you double check the connection name used in disable account json against the create account json?
”connection”: “acctAuth”
02/26/2024 07:26 PM
Why you have different URL for Create Account & Disable Account
create Account - https://forums.saviynt.com/t5/identity-governance/unable-to-create-zoom-account-with-azure-account-i...