PUT
/
users
/
{id}
curl --request PUT \
  --url https://use.hoop.dev/api/users/{id} \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "jsmith@example.com",
  "groups": [
    "sre",
    "dba"
  ],
  "name": "John Wick",
  "password": "mysecurepassword",
  "picture": "",
  "slack_id": "U053ELZHB53",
  "status": "active"
}'
{
  "email": "jsmith@example.com",
  "groups": [
    "sre",
    "dba"
  ],
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "John Wick",
  "password": "mysecurepassword",
  "picture": "",
  "role": "standard",
  "slack_id": "U053ELZHB53",
  "status": "active",
  "verified": true
}

Path Parameters

id
string
required

The subject identifier of the user

Body

application/json
The request body resource

The body is of type object.

Response

200
application/json
OK

The response is of type object.