Skip to content

Preview: Model Atlas is in development and not yet available.

Rename your account

PATCH/v1/accountPortal sign-in

Owners only (403 forbidden for members).

Authorization

Portal sign-in Authorization: Bearer $MA_ACCESS_TOKEN

Sign in to the portal and send its access token. Portal sign-in isn't available yet, so you can read this endpoint but not call it.

Request body

Required, application/json.

  • namestringrequired

    The account’s name. Spaces around it are trimmed; then it must be 1 to 100 characters, with no control characters.

    Range
    1 to 100 characters
    Example
    Acme Corp
Example request body
{
"name": "Acme Corporation"
}

Responses

The renamed account.

application/json · Account

  • idstring (uuid)required

    The account’s ID.

    Example
    3b8e5f2a-91c4-4d6b-a7e0-5c2f8d14b9e6
  • namestringrequired

    The account’s name.

    Example
    Acme Corp
  • planstringrequirednullable

    Null until a plan is granted. Without one, API keys can’t read the catalog.

    Example
    pilot
  • plan_statusstringrequired

    active, or past_due or canceled: then the plan grants nothing until it’s active again (entitlements shows what you get now).

    Allowed
    active, past_due, canceled
    Example
    active
  • entitlementsEntitlementsrequired

    What your plan lets you use now. Without an active plan (none granted, or plan_status past due or canceled), field_groups is empty, webhooks is false and history_days and requests_per_minute are 0: your API keys can’t read the catalog or events. Limits apply whatever the status; an account over one after a plan change keeps what it has, and gets 409 conflict adding more.

    Fields of entitlements (5)
    • field_groupsarray of stringrequired

      The catalog field groups your plan covers. Any other group comes back as {"entitled": false}; /v1/availability needs availability (403 forbidden otherwise).

      Allowed items
      lifecycle, specs, pricing, availability, license, benchmarks
      Example
      ["lifecycle","specs","pricing","availability","license","benchmarks"]
    • webhooksbooleanrequired

      Whether you can create webhook endpoints and get deliveries.

      Example
      true
    • history_daysintegerrequirednullable

      How many days of change events /v1/events serves, counted from detected_at. Null is every event.

      Range
      at least 0
      Example
      400
    • requests_per_minuteintegerrequired

      How many requests a minute your account’s API keys may make together, to the catalog and events. Past it, 429 rate_limited with Retry-After until the minute ends. The API-wide throttle applies too.

      Range
      at least 0
      Example
      600
    • limitsPlanLimitsrequired

      Per-account caps from your plan. At a cap, creating one more is 409 conflict; a cap of 0 means your plan doesn’t include it (403 forbidden).

      Fields of limits (4)
      • api_keysintegerrequired

        Active (unrevoked) API keys.

        Example
        10
      • webhook_endpointsintegerrequired

        Webhook endpoints, enabled or not. Creating one also needs a plan with webhooks.

        Example
        10
      • webhook_subscriptionsintegerrequired

        Webhook subscriptions across all your endpoints.

        Example
        50
      • inventory_itemsintegerrequired

        Items in your inventory (/v1/inventory).

        Example
        500
  • rolestringrequired

    Your role in this account.

    Allowed
    owner, member
    Example
    owner
  • created_atstring (date-time)required

    When the account was created.

    Example
    2026-11-26T15:04:05Z
200 example
{
"id": "3b8e5f2a-91c4-4d6b-a7e0-5c2f8d14b9e6",
"name": "Acme Corporation",
"plan": "pilot",
"plan_status": "active",
"entitlements": {
"field_groups": [
"lifecycle",
"specs",
"pricing",
"availability",
"license",
"benchmarks"
],
"webhooks": true,
"history_days": 400,
"requests_per_minute": 600,
"limits": {
"api_keys": 10,
"webhook_endpoints": 10,
"webhook_subscriptions": 50,
"inventory_items": 500
}
},
"role": "owner",
"created_at": "2026-11-26T15:04:05Z"
}