cURL
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 }
Change a user’s rank to the specified rank
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The user's ID
The workspace ID
Default Response
The response is of type object.
object