Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Getting Status 415 in a REST call

Suresh1
Regular Contributor
Regular Contributor

Hello Team,

I'm trying to make a call to one of the API's which is used to de-assign the roles. But i'm getting a status code 415 with error message "Unsupported Media Type"

FYI- This call is successful in Postman, but same is not working in Saviynt.

Below is my json & postman payload

{
"call": [
{
"name": "Groups",
"connection": "acctAuth",
"url": "https://<URL>/${account.accountID}",
"httpMethod": "DELETE",
"httpParams": "[{\"id\": ${entitlementValue.entitlementID}}]",
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "*/*"
},
"httpContentType": "application/json",
"successResponses": {
"statusCode": [
200,
201
]
}
}
]
}

Suresh1_0-1718305793523.png

 

 

2 REPLIES 2

rushikeshvartak
All-Star
All-Star

{
"call": [
{
"name": "Groups",
"connection": "acctAuth",
"url": "https://<URL>/${account.accountID}",
"httpMethod": "DELETEWITHBODY",
"httpParams": "[{\"id\": ${entitlementValue.entitlementID}}]",
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "*/*"
},
"httpContentType": "application/json",
"successResponses": {
"statusCode": [
200,
201
]


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

Suresh1
Regular Contributor
Regular Contributor

@rushikeshvartak , Thank you for the help, this worked.

"httpMethod": "DELETEWITHBODY",