Set or rename the org's slug (repo-first-onramp D6)
Owner-only. Claims a globally-unique, address-form slug for the org (run402::<org-slug>/<repo-name>), distinct from display_name. A genesis set (the org had no slug yet) is a 201; a rename (the org already had a slug — the old one releases into a ~90-day cooldown behind a typed SLUG_RELEASED refusal, never a redirect) is a 200. The org's FIRST-EVER slug claim is free — no billing wallet required; every later set or rename debits a one-time payable set fee from the org's allowance. fee_usd_micros in the response names the real price of THIS call (0 or the fee). Requires Idempotency-Key so a retried claim cannot double-bill. Refused for names on the static reserved list (SLUG_RESERVED) or the curated protected-brands list (SLUG_PROTECTED, available only via manual review), and for a slug already claimed or in cooldown (SLUG_TAKEN / SLUG_RELEASED, the latter naming the successor slug).
Request
- Base URL: https://api.run402.com
- URL: https://api.run402.com/orgs/v1/{org_id}/slug
- Auth: one of:
- API key in header SIGN-IN-WITH-X
- HTTP bearer
Path parameters
Headers
SIWX auth header — base64-encoded JSON payload containing a signed CAIP-122 (EIP-4361) message. See https://docs.x402.org/extensions/sign-in-with-x.
Required — a paid, side-effecting set. An exact retry with the same key never double-bills.
Request body
Response
Renamed — the org already held a different slug
Changes
No recorded changes to this operation across all 1 revision of this API.