Users

Insert or update existing user attributes

For each key in the attributes dictionary argument, if the user already has an attribute with that key, the value will be replaced with the new value provided. If the user doesn't already have an attribute with the given key, a new attribute will be created with the given key and value. If no user is found with the given uuid, a 404 error will be returned.

patch/v1/users/{id}/attributes

Request

  • Base URL
    https://api.capacity.com (the document declares no server; this is the origin it was published from)
  • Auth
    • API key in header x-capacity-id
    • or HTTP bearer

Path parameters

idstring required

Request body

attributesobject

Dictionary of keys and values to insert/update the user's attributes

Response

The user and their updated attributes

bodyobject

Json body data in the request

parametersobject

Query parameters in the request

idstring
first_namestring
last_namestring
emailstring
is_deletedunknown
custom1string nullable
custom2string nullable

Changes

No recorded changes to this operation across all 1 revision of this API.