This method adds, updates or deletes an attribute for specified users. The request is an attribute object which contains attributeName key and attribute value.The attribute value must not exceed 75 characters, or contain illegal HTML characters. If the user does not have the attributeNameKey it will add the attribute, otherwise it will update the attribute. If the attribute value sent is null or empty, it will delete the attribute for the specified users.

Roles

Any

URL

https://api.getgo.com/admin/rest/v1/account/{accountKey}/users/{userKey}/attributes

Method

PUT

Response Type

JSON

HTTP Request Example

PUT
https://api.getgo.com/admin/rest/v1/account/8830995/users/123,456,789/attributes
HTTP 1.1
Accept: application/json
Content-type: application/json
Authorization: OAuth oauth_token= ZlUe11FakEyCWxtOkeN3wk0uTKuL
 {
  "100":"Legal",
  "200":"#1234567890"
  }

Response Example

204 No Content