Delete Organisation Service
This endpoint deletes a specific service associated with an organisation, permanently removing its configuration, functionality, and assigned endpoints. The request requires the organisation ID and service ID to ensure precise deletion. Once removed, the service will no longer be accessible or available for use within the organisation.
Syntax: see 'CCall Structure
Type = 'DELETE'
'https://connect.cambrionix.com/api/v1/organizations/organisation-id/service/' |
Variable | Description |
---|---|
organisation-id | This is the unique id of the organisation as a unique 128-bit number |
In the data section of the request, include the information you wish to add, formatted as shown below.
{ "id": "service-id" } |
Output | Description |
---|---|
service-id | This is the id of the service as a unique 128-bit number |
Returns:
{ "result": {} } |
Example
curl -X 'DELETE' \
'https://connect.cambrionix.com/api/v1/organizations/40f5a1a7-3119-4961-8493-866c4053b7eb/service' \
-H 'accept: application/json' \
-H 'Authorization: Bearer eyJhbGciOiJSUzI1NiNDJiLTk3YWIyO-70Qprv9eIWhYPmG34msEi5KPc5X3A' \
-H 'Content-Type: application/json' \
-d '{
"id": "string"
}'
Returns
{
"result": {}
}
Errors
If there is an error in the API method then JSON-RPC Error Object a will be returned