PATCH
/
ranking
/
{workspaceId}
/
set
/
{userId}
curl --request PATCH \
  --url https://api.hyra.io/ranking/{workspaceId}/set/{userId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "rank": 123
}'
{
  "success": true
}

Authorizations

Authorization
string
headerrequired

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

Path Parameters

userId
string
required

The user's ID

workspaceId
string
required

The workspace ID

Body

application/json
rank
number
required

The rank to set the user to

Response

200 - application/json
success
boolean
required