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
}
Patch own user’s slack id
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
}
The request body resource
The body is of type object
.
OK
The response is of type object
.
Was this page helpful?