DELETE
/forums/forums/{id}
Delete a forum
This endpoint is only available for requests made using an API Key or the Client Credentials Grant Type, not using an OAuth Access Token for a particular member.
Parameters
| Name | Type | Description |
|---|---|---|
deleteChildrenOrMove
|
int | The ID number of the new parent or -1 to delete all child nodes. |
Exceptions
| Code | Message | Description |
|---|---|---|
1S359/1 |
INVALID_ID |
The node ID does not exist |
1S359/2 |
INVALID_TARGET |
The target node cannot be deleted because the new parent node does not exist |
1S359/3 |
HAS_CHILDREN |
The target node cannot be deleted because it has children (pass deleteChildrenOrMove in the request to specify how to handle the children) |
Response
This endpoint doesn't return a response.