# Update a code (Developers)

URL: https://qrdx.dev/docs/developers/api/update-code
Source: https://github.com/bucharitesh/qrdx/blob/main/apps/docs/content/docs/developers/api/update-code.mdx

Changes a code's destination, title, design, domain or back-half, or archives it.

{/* Generated by pnpm openapi:generate from public\/openapi.json. Edit lib\/openapi, then run it again. */}

Send only the fields to change. `archived: true` stops redirects and frees a plan slot; `false` restores the code. The destination, title and design stay editable on every plan.
