User Management
Patch User Slack ID
Authentication
Connections
AWS
Guard Rails
Server Management
Jira
Organization Management
Reports
User Management
Sessions
User Management
Patch User Slack ID
Patch own user’s slack id
PATCH
/
users
/
self
/
slack
curl --request PATCH \
--url https://use.hoop.dev/api/users/self/slack \
--header 'Content-Type: */*' \
--data '{
"slack_id": "U053ELZHB53"
}'
{
"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
}
Body
*/*
The request body resource
The body is of type object
.
Response
200
application/json
OK
The response is of type object
.
curl --request PATCH \
--url https://use.hoop.dev/api/users/self/slack \
--header 'Content-Type: */*' \
--data '{
"slack_id": "U053ELZHB53"
}'
{
"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
}