SweetConnect LogoSweetConnect
ApiUsers

Update existing user

Update existing user

PUT
/v1/users/{userId}
AuthorizationBearer <token>

In: header

Path Parameters

userId*string

The ID of user to retrieve

Request Body

application/json

firstName?string
lastName?string
email?string
attributes?

Response Body

application/json

curl -X PUT "https://my.sweetconnect.io/api/auth/v1/users/string" \  -H "Content-Type: application/json" \  -d '{}'
{
  "data": {
    "users": [
      {
        "id": "string",
        "firstName": "string",
        "lastName": "string",
        "email": "string",
        "username": "string",
        "activated": true,
        "role": "admin",
        "marketplaceRole": "sweetconnect",
        "additionalProperties": "string"
      }
    ]
  },
  "meta": {
    "responseTime": 0,
    "count": 0
  }
}
Empty
Empty
Empty
Empty