PUT
/
users
/
{id}
curl --request PUT \
  --url https://core.api.ravennahq.com/api/users/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "firstName": "<string>",
  "lastName": "<string>",
  "email": "<string>"
}'
{
  "id": "<string>",
  "firstName": "<string>",
  "lastName": "<string>",
  "email": "<string>",
  "image": "<string>",
  "slackTeamId": "<string>",
  "slackUserId": "<string>",
  "slackRealName": "<string>",
  "slackImageUrl": "<string>",
  "emailVerified": "<string>",
  "defaultWorkspaceId": "<string>",
  "isGuestCreated": true,
  "isBot": true,
  "createdAt": "<string>",
  "auth0Id": "<string>",
  "updatedAt": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json
firstName
string | null
lastName
string | null
email
string

Response

200
application/json
Successful response
id
string
required
firstName
string | null
required
lastName
string | null
required
email
string
required
image
string | null
required
slackTeamId
string | null
required
slackUserId
string | null
required
slackRealName
string | null
required
slackImageUrl
string | null
required
emailVerified
string | null
required
defaultWorkspaceId
string | null
required
isGuestCreated
boolean
required
isBot
boolean
required
createdAt
string
required
auth0Id
string | null
required
updatedAt
string
required