Delete() [OrganizationManager]

Delete an organization by Id or name

Description

Delete an organization either by Id or organization name.

Package Details

Interface

IOrganizationManager

Syntax

await OrganizationManager.Delete(string id)

Returns

Task

API

DELETE
/api/v1/organizations/{id}

Parameters

Parameter

Description

Parameter Type

Parameter

Description

Parameter Type

id (string)

The Id or name of the organization to delete

path

Returns

On success, 200 Ok

On error, 400 Bad Request

On authorization error, 403 Forbidden

Example

var id = "223"; await _organizationManager.Delete(id);
var orgName = "ACME Corporation"; await _organizationManager.Delete(orgName);