---
title: "Update account resources"
method: POST
path: "/v1/admin.updateResources"
tags: ["admin"]
---

# Update account resources

`POST /v1/admin.updateResources`

## Request body

- V1AdminUpdateResourcesRequestBody
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `id` IDSearch
    - `accountId` integer — Account ID to search for
    - `steamId64` string — SteamID64 to search for
  - `resources` Resource[], nullable, required — The resources to add for this account
    - `resource` 'go_to_leaderboard_entry' | 'max_leaderboard_entries' | 'account_refresh_rate' | 'inventory_refresh_rate' | 'social_links' | 'vanity' | 'account_queues' | 'short_link_domain' | 'max_find_owners' | 'max_badge_crafters' | 'search_result_limit' | 'max_compare_accounts' | 'max_saved_searches' | 'profile_theme_color' | 'name_effect', required
    - `value` string, required — The value of the resource, this can be a string, number, boolean or even a cron expression
  - `vanity` VanitySearch
    - `type` 'steam' | 'internal', required — Which type of vanity to search for
    - `value` string, required — Vanity to search for

## Response `204`

No Content

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Unprocessable Entity
- `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)
