Skip to main content
POST
/
v1
/
admin.updateRoles
Update account roles
curl --request POST \
  --url https://api.steamsets.com/v1/admin.updateRoles \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": {
    "accountId": 1,
    "steamId64": "<string>"
  },
  "roles": [
    "user"
  ],
  "vanity": {
    "type": "steam",
    "value": "<string>"
  }
}'
This response does not have an example.
This endpoint is not intended for public use and requires user authentication

Authentication Required

This endpoint requires an active user session and cannot be accessed via API keys. It’s designed for authenticated user interactions within the web application.

Authorizations

Authorization
string
header
required

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

Body

application/json
roles
enum<string>[] | null
required
id
object
vanity
object

Response

No Content