Org

Rename an org (first-class-orgs)

Owner-only; sets or clears the org's display_name (null or empty string clears) and returns the updated org summary including tier lease state. Step-up gated. Authorize-before-reveal on a non-owner (incl. a guessed id).

patch/orgs/v1/{org_id}

Request

  • Base URL: https://api.run402.com
  • URL: https://api.run402.com/orgs/v1/{org_id}
  • Auth: API key in header SIGN-IN-WITH-X

Path parameters

org_idstring uuid required

Headers

SIGN-IN-WITH-Xstring required

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.

Request body

display_namestring nullable required

Response

The updated org

org_idstring uuid
display_namestring nullable
slugunknown
tierunknown
lease_started_atstring date-time

ISO-8601 timestamp when the current lease began. Null only for a placeholder org that has not set a tier.

lease_expires_atstring date-time

ISO-8601 timestamp when the current lease expires. Null only for a placeholder org that has not set a tier.

Changes

No recorded changes to this operation across all 1 revision of this API.