User Management
Update User
Authentication
Connections
AWS
Guard Rails
Server Management
Jira
Organization Management
Reports
User Management
Sessions
User Management
Update User
Updates an existing user
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
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
.
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
}