Update an achievement
update_achievementEdit an achievement on a game you own: change its name, description, emoji, points, or visibility while leaving the slug untouched.
Instructions
Edits one achievement on a game you own. Anything you leave out is left exactly as it was, and slug is deliberately not patchable — the slug is the key a shipped build already unlocks against, so changing it would silently break the game. Rewrite the name and description as freely as you like: those are display only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| game | Yes | The game, by slug (e.g. "orbital-drift") or by id (uuid). | |
| name | No | Replacement name. Omit to keep it. | |
| slug | Yes | The stable key your game code passes to Arcade.achievements.unlock(). Lowercase letters, digits and hyphens, up to 48 characters — e.g. "first-win", "no-damage-run". Pick it once and keep it: renaming the name or description never breaks a shipped build, changing the slug breaks every call site in it. | |
| emoji | No | Replacement badge emoji. | |
| hidden | No | Make it secret, or reveal it. Revealing one is safe; hiding a badge players have already seen is not. | |
| points | No | Replacement weight, 0-100. | |
| iconUrl | No | Replacement https:// badge image. | |
| sortOrder | No | Replacement display position, ascending. | |
| description | No | Replacement one-liner. Send "" to clear it. |