DELETE /analytics/building_blocks/{id}
Deletes the building block rule. To ensure safe deletion, a dependency check is carried out. This check might take some time. An asynchronous task to do is started for this check.
Deletes the building block rule. To ensure safe deletion we check if anything depends on it, this may take some time. Therefore we start an asynchronous task to do this.
MIME Type |
---|
application/json |
Parameter | Type | Optionality | Data Type | MIME Type | Description |
---|---|---|---|---|---|
id |
path |
Required |
Number (Integer) |
text/plain |
null |
fields |
query |
Optional |
String |
text/plain |
Optional - Use this parameter to specify which fields you would like to get back in the response. Fields that are not named are excluded. Specify subfields in brackets and multiple fields in the same object are separated by commas. |
HTTP Response Code | Unique Code | Description |
---|---|---|
202 |
The building block rule delete command was accepted and is in progress. |
|
403 |
1009 |
You do not have the required capabilities to delete the building block rule. |
404 |
1002 |
The building block rule does not exist. |
409 |
1004 |
null |
500 |
1020 |
An error occurred during the attempt to delete the building block rule. |
Response Description
- id - Long - The ID of the task.
- message - String - The localized task message.
- status - String - The current state that the task is in.
- name - String - The name of the task.
- created_by - String - The name of the user who started the task.
- created - Long - The time in milliseconds since epoch since the task was created.
- started - Long - The time in milliseconds since epoch since the task was started.
- modified - Long - The time in milliseconds since epoch since the task was modified.
- completed - Long - The time in milliseconds since epoch since the task was completed.
Response Sample
{
"completed": 42,
"created": 42,
"created_by": "String",
"id": 42,
"message": "String",
"modified": 42,
"name": "String",
"started": 42,
"status": "String <one of: CANCELLED, CANCELING, CANCEL_REQUESTED, COMPLETED, CONFLICT, EXCEPTION, INITIALIZING, INTERRUPTED, PAUSED, PROCESSING, QUEUED, RESUMING>"
}