members.dev
Organizations

Set Organization as default

POST
/v1/organizations/{organization_id}/set-default

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Path Parameters

organization_id*string

Response Body

application/json

application/json

curl -X POST "https://api.members.dev/v1/organizations/string/set-default"
{
  "id": "org_01KKSMB47VYGW97GFE67VGDK7M",
  "name": "Acme Corp",
  "description": "Main customer account",
  "is_default": true,
  "created_at": null,
  "updated_at": null
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}