Skip to content

Latest commit

 

History

History
58 lines (58 loc) · 2.25 KB

Modify an existing contacts group.md

File metadata and controls

58 lines (58 loc) · 2.25 KB

Modify an existing contacts group

Updates a given contacts group

Remember to provide the authentication HTTP headers as described in the Authenticate using a session key and the Authenticate using a user token sections.
All the query string parameters in URL must be UTF-8 URL Encoded.

HTTP Headers

user_key / Session_key

HTTP Method

PUT

HTTP Request

https://app.gateway.smsend.it/API/v1.0/REST/group/{group_id}

Body Fields

Parameter Type Description Required Default
name String The name of the group Yes -
description String The description of the group Yes -

Returns

Code Description
200 An empty string, and the HTTP Location header containing the path to the updated group
400 If the given group_id is invalid, if the address book is locked, if the group name is invalid, or other errors, with a code error
401 [Unauthorized] User_key, Token or Session_key are invalid or not provided
404 [Not found] If the requesting user does not exist.