Delete a group
v1
delete
/1/newsletters/{domain}/groups/{group}
Delete a group.
domain
requiredinteger
Unique identifier of the Domain
Examples:44160
group
requiredinteger
Unique identifier of the Group
Examples:29555
Response Body
application/json
resultstring
Possible values:successerrorasynchronous
Result of the HTTP request
Examples:success
databoolean
Example request
<?php
use GuzzleHttp\Client;
$client = new Client();
$headers = [
'Authorization' => 'Bearer YOUR-TOKEN-HERE',
'Content-Type' => 'application/json'
];
$request = new Request('DELETE', 'https://api.infomaniak.com/1/newsletters/{domain}/groups/{group}', $headers, $body);
$res = $client->sendAsync($request)->wait();
echo $res->getBody();
Example response
application/json
{"result":"success","data":false}