---
title: "Remove organization"
method: DELETE
path: "/rest/servicedeskapi/servicedesk/{serviceDeskId}/organization"
tags: ["Organization"]
---

# Remove organization

`DELETE /rest/servicedeskapi/servicedesk/{serviceDeskId}/organization`

## Request

- Base URL: `https://your-domain.atlassian.net`
- URL: `https://your-domain.atlassian.net/rest/servicedeskapi/servicedesk/{serviceDeskId}/organization`
- Auth: OAuth 2
  - Authorization code: `https://auth.atlassian.com/authorize`
  - Token URL: `https://auth.atlassian.com/oauth/token` scopes: `manage:servicedesk-customer`

This method removes an organization from a service desk. If the organization ID does not match an organization associated with the service desk, no change is made and the resource returns a 204 success code.

**[Permissions](#permissions) required**: Service desk's agent.

## Path parameters

- `serviceDeskId` string, required

## Request body

- OrganizationServiceDeskUpdateDTO
  - `organizationId` integer, required: List of organizations, specified by 'ID' field values, to add to or remove from the service desk.
  - `serviceDeskId` string: Service desk Id for which, organization needs to be updated

## Response `204`

Returned if the organization was removed from the service desk or no such organization was associated with the service desk.

## Other responses

- `401`: Returned if the user is not logged in.
- `403`: Returned if the user does not have permission to complete this request.
- `404`: Returned if the service desk or organization do not exist.
- `500`: Internal Server Error.

## Changes

> 20 revisions in range; 3 not diffed.

- **2024-02-08** `7c79c3ffe305`: 1 info
  - added the new optional request property `serviceDeskId`

[Operation history](https://skmtc.dev/atlassian/apis/service-management-public-rest-api/changes/rest/servicedeskapi/servicedesk/:serviceDeskId/organization/delete.md)

---

[API](https://skmtc.dev/atlassian/apis/service-management-public-rest-api.md) - [All operations](https://skmtc.dev/atlassian/apis/service-management-public-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/atlassian/apis/service-management-public-rest-api/revisions/fe02b1260fc7?raw)
