Delete a group
This DELETE
operation deletes a group from the SQS based on the group id
. If successful, you receive an HTTP response code of 204
.
See HTTP response codes for other response codes. |
DELETE /sqs/api/groups/<id>
HEADER INFO
authorisation: HTTP Basic Auth
tenant: <tenantName>
permissions: SQS_GROUP_DELETE_PERMISSION
URL parameters
Parameter | Description |
---|---|
|
The auto-assigned identifier that was given to the group upon creation. |
SQS groups data type descriptions
Field | Type | Description | ||
---|---|---|---|---|
|
string |
The auto-assigned ID given to the group upon creation. |
||
|
string |
The ID given to the owner of the group (the creator). This is typicaly the MSISDN of the subscriber who created the group.
|
||
|
string |
The name of the group. This is currently auto-assigned upon group creation. |
||
|
string |
The date and time at which the group was created.
|
||
|
string |
The date and time at which the group was updated.
|
HTTP response codes
Code | Description | ||||
---|---|---|---|---|---|
|
success!
|
||||
|
Multistatus response
|
||||
|
malformed request |
||||
|
unauthorised; bad username or password |
||||
|
forbidden; user does not have appropriate privileges |
||||
|
group not found |
||||
|
conflict with target resource
|
||||
|
failed validation; this typically means that a property was not set or a value is out of range. example
|
||||
|
failed processing (after passing validation). example
Example 1. SQS response codes
|
||||
|
internal error |
||||
|
request rejected due to overload |