Skip to main content
PATCH
/
users
/
self
/
slack
Patch User Slack ID
curl --request PATCH \
  --url https://use.hoop.dev/api/users/self/slack \
  --header 'Content-Type: */*' \
  --data '{
  "slack_id": "U053ELZHB53"
}'
{
  "email": "[email protected]",
  "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

*/*
slack_id
string
required
Example:

Response

email
string<email>
required
groups
string[]
Example:
id
string<uuid>
name
string
Example:
password
string
Example:
picture
string
Example:
role
enum<string>
Available options:
admin,
standard,
unregistered
Example:
slack_id
string
Example:
status
enum<string>
default:active
Available options:
active,
inactive,
invited
verified
boolean