Delete a Space
This mutation deletes a Space that is created by the account authorizing this request. It takes the id (the Space id) as input.
Code samples
Input syntax
mutation space{
spaceDelete(id: "ID!")
}
| Field | Type | Description | Required/Optional |
|---|---|---|---|
| id | ID | The unique id of the Space that you want to delete. | Required |
Return syntax
{
"data": {
"spaceDelete": Boolean
}
}
Implementation
To delete a Space, send a mutation request to platform.boomi.com/graphqlwith the following headers:
| Key | Value |
|---|---|
| Authorization | Bearer <Token\> |
| Accept | application/json |
JSON request
mutation space{
spaceDelete(id: "2da77d1f-bbd4-4066-xxxx-e15fc
")
}
JSON response
{
"data": {
"spaceDelete": true
}
}