Function: removeOrganization()
ts
function removeOrganization(
client,
parameters,
options?
): Promise<void>;Defined in: src/serviceDesk/api/organization.ts:373
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 required: Service desk's agent.
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { body: { organizationId: number; serviceDeskId?: string; }; serviceDeskId: string; } | - |
parameters.body | { organizationId: number; serviceDeskId?: string; } | - |
parameters.body.organizationId? | number | List of organizations, specified by 'ID' field values, to add to or remove from the service desk. |
parameters.body.serviceDeskId? | string | Service desk Id for which, organization needs to be updated |
parameters.serviceDeskId? | string | The ID of the service desk from which the organization will be removed. This can alternatively be a project identifier. |
options? | RequestOptions | - |
Returns
Promise<void>