---
title: "Update account role"
method: POST
path: "/v1/account.updateRole"
tags: ["account"]
---

# Update account role

`POST /v1/account.updateRole`

## Request body

- V1AccountUpdateRoleRequestBody
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `role` 'amber' | 'amethyst' | 'emerald' | 'sapphire' | 'ruby' | 'diamond' | 'astral' | 'nebula' — The role the account should have between one of the 6 donation roles

## Response `204`

No Content

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `422` — Unprocessable Entity
- `429` — Too Many Requests
- `500` — Internal Server Error

---

[API](https://skmtc.net/steamsets/apis/steamsets-api.md) · [All operations](https://skmtc.net/steamsets/apis/steamsets-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/steamsets/steamsets-api/versions/593d89718daa/schema)
