cURL
curl --request POST \ --url https://api.steamsets.com/v1/admin.updateRoles \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "roles": [ "user" ], "id": { "accountId": 1, "steamId64": "<string>" }, "vanity": { "type": "steam", "value": "<string>" } } '
{ "$schema": "<string>", "detail": "<string>", "errors": [ { "location": "<string>", "message": "<string>", "value": "<unknown>" } ], "instance": "<string>", "status": 123, "title": "<string>", "type": "about:blank" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
user
donator
staff
developer
partner
owner
amethyst
amber
emerald
sapphire
ruby
diamond
contributor
early_supporter
beta
translator
top_100
badge_scout
nitro_booster
astral
nebula
Show child attributes
Account ID to search for
x >= 0
SteamID64 to search for
17
Which type of vanity to search for
steam
internal
Vanity to search for
2
No Content