Description

Update a profile group

Parameters

Name Type Required Optional Searchable Note
siteid numeric REQUIRED, Passed via URI
categoryid numeric REQUIRED, Passed via URI
groupid numeric REQUIRED, Passed via URI
groupname string REQUIRED, Passed via BODY

Examples

Example Request

http://devsandbox.targetsolutions.com/v1/sites/{siteid}/categories/profile/{categoryid}/groups/{groupid}

Example Header

PUT /sites/{siteid}/categories/profile/{categoryid}/groups/{groupid} HTTP/1.1
Host: http://devsandbox.targetsolutions.com/v1
AccessToken: 6wwKAY7+uPOy1aemC/koEA==
Cache-Control: no-cache

Example Body JSON

{
  "groupname":"random groupname data"
}

Possible Results Sets

Results Set

{
  "httpcode":202,
  "moreinfo":"http://developers.targetsolutions.com/v1/responsecodes/702",
  "developermessage":"The request has been fulfilled and resulted in a resource being updated.",
  "statuscode":702,
  "status":"accepted" 
} 

Access Denied Set

{
  "httpcode":401,
  "moreinfo":"http://developers.targetsolutions.com/v1/responsecodes/800",
  "developermessage":"A request was made to a resource that you do not have ownership of.",
  "statuscode":800,
  "status":"access denied"
}