DeleteOrganization

Attributes

ObjectId
See ‘object-id’ in object-type: organization.

JSON Examples

{
    "UpdateType": "DeleteOrganization",
    "ObjectId": "OBJECT_ID"
}

check_valid()

Only the participant set in the creator-id attribute may delete an organization. Also, the organization must have ref-count of 0, indicating that no other items are using the organization.

The following checks are performed:

  • Authorization, as specified above.
  • Verify that ref-count is 0.

apply()

Remove the organization from the store.