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.
namestringrequiredThe 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
{ "name": "Acme Corporation"}Responses
The renamed account.
application/json · Account
idstring (uuid)requiredThe account’s ID.
- Example
3b8e5f2a-91c4-4d6b-a7e0-5c2f8d14b9e6
namestringrequiredThe account’s name.
- Example
Acme Corp
planstringrequirednullableNull until a plan is granted. Without one, API keys can’t read the catalog.
- Example
pilot
plan_statusstringrequiredactive, orpast_dueorcanceled: then the plan grants nothing until it’s active again (entitlementsshows what you get now).- Allowed
active,past_due,canceled- Example
active
entitlementsEntitlementsrequiredWhat your plan lets you use now. Without an active plan (none granted, or
plan_statuspast due or canceled),field_groupsis empty,webhooksis false andhistory_daysis 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 gets409 conflictadding more.Fields of entitlements (4)
field_groupsarray of stringrequiredThe catalog field groups your plan covers. Any other group comes back as
{"entitled": false};/v1/availabilityneedsavailability(403 forbiddenotherwise).- Allowed items
lifecycle,specs,pricing,availability,license,benchmarks- Example
["lifecycle","specs","pricing","availability","license","benchmarks"]
webhooksbooleanrequiredWhether you can create webhook endpoints and get deliveries.
- Example
true
history_daysintegerrequirednullableHow many days of change events
/v1/eventsserves, counted fromdetected_at. Null is every event.- Range
- at least 0
- Example
400
limitsPlanLimitsrequiredPer-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_keysintegerrequiredActive (unrevoked) API keys.
- Example
10
webhook_endpointsintegerrequiredWebhook endpoints, enabled or not. Creating one also needs a plan with webhooks.
- Example
10
webhook_subscriptionsintegerrequiredWebhook subscriptions across all your endpoints.
- Example
50
inventory_itemsintegerrequiredItems in your inventory (
/v1/inventory).- Example
500
rolestringrequiredYour role in this account.
- Allowed
owner,member- Example
owner
created_atstring (date-time)requiredWhen the account was created.
- Example
2026-11-26T15:04:05Z
{ "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, "limits": { "api_keys": 10, "webhook_endpoints": 10, "webhook_subscriptions": 50, "inventory_items": 500 } }, "role": "owner", "created_at": "2026-11-26T15:04:05Z"}400 Bad Request, code: invalid_parameter. A parameter or the request body is invalid.
application/problem+json · Problem
typestringrequiredAlways about:blank for now. Use
code.titlestringrequiredThe HTTP status’s standard name.
statusintegerrequiredThe HTTP status code, the same as the response’s.
detailstringWhat went wrong with this request, in plain language: which parameter, which slug. Absent when there’s nothing to add (an internal error).
codestringrequiredThe error, for your code to act on. Branch on this, not on
titleordetail.- Allowed
not_found,invalid_parameter,unauthorized,forbidden,conflict,rate_limited,not_implemented,internal
401 Unauthorized. No valid portal access token. API Gateway checks it before the API runs, so this body is API Gateway’s, not a Problem.
403 Forbidden, code: forbidden. You can’t do this on this account (see the description).
application/problem+json · Problem
typestringrequiredAlways about:blank for now. Use
code.titlestringrequiredThe HTTP status’s standard name.
statusintegerrequiredThe HTTP status code, the same as the response’s.
detailstringWhat went wrong with this request, in plain language: which parameter, which slug. Absent when there’s nothing to add (an internal error).
codestringrequiredThe error, for your code to act on. Branch on this, not on
titleordetail.- Allowed
not_found,invalid_parameter,unauthorized,forbidden,conflict,rate_limited,not_implemented,internal
429 Too Many Requests. Over the stage’s request throttle. API Gateway answers before the API does, so this body isn’t a Problem. Wait, then retry with backoff.