![]() |
API Documentation
|
where {organisationId} is the ID of an organisation.
POST - initiates a request to remove an organisation (specified by organisationId) configured on the Cocoon Data Platform.DELETE - cancels or declines an existing request to remove an organisation (specified by organisationId).Note: The
DELETEmethod takes no parameters.
This API endpoint serves a number of purposes:
organisationId) configured on the Cocoon Data Platform.organisationId, or declines such an existing request (i.e. initiated by another SafeShare administrator).Tip: To determine if an organisation has an existing request for its removal, use the <access-service>/api/v1/organisations API endpoint to retrieve information about organisations configured on the Cocoon Data Platform and if the required organisation's
organisationRemovalRequestmember is notnulland contains sub-members, then the organisation has an existing request for its removal.
This API endpoint supports the following Cocoon Data user roles (as described in the SafeShare Administrator's Guide):
The Cocoon Data Platform's resources available to a Cocoon Data user meeting the criteria above is determined by the access token submitted in the header of requests to this endpoint.
The appropriate access token as the Bearer token:
Authorization: Bearer eyJhbGciOiJSUzI1NiJ9.eyJleHAiOjE0NjcwMTY2NjYsInVzZXJfbmFtZSI6ImFsZXgub...The following header is required if the body of the request has a JSON object:
Content-Type: application/jsonThe following required parameters must be sent in the body of the POST request, each as individual members of a JSON object:
true) or not (false) the contact person of the organisation (specified by organisationId) will be sent an email notification informing them that a SafeShare administrator had initiated a request to remove their organisation from the Cocoon Data Platform. false to ensure correct system behavior. If the POST request succeeded, then an HTTP response status 201 Created is returned.
If the DELETE request succeeded, then an HTTP response status 204 No Content is returned.