Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Remove organization from project

nicole liliana bassi
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 30, 2024

Hello, I need to delete some organizations from the list of organizations of a particular project


If possible I will user api rest, but with the code I read from

https:///developer.atlassian.com/cloud/jira/service-desk/rest/api-group-organization/#api-rest-servicedeskapi-Servicedesk-servicedeskid-organization-delete

under the voice Remove Organization the answer gets an error with code 415


What can I do?

Is there an updated guide of your rest api?

thanks

Nicole

1 answer

0 votes
Andras M_
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 2, 2024

Hey @nicole liliana bassi

The HTTP 415 error is likely the result of a missing Content Type header. Since the endpoint requires the organization id to be passed as part of the request payload, the Content Type header has to be passed. When this is not done, or an incorrect header is sent, a HTTP 415 error is returned.

Please ensure your request has the following header:

Content-Type: application/json

The above may need to be formatted to suit the application or code you are using to interact with the API. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events