---
title: "POST /accounts/organizations/"
method: POST
path: "/accounts/organizations/"
tags: ["accounts"]
---

# POST /accounts/organizations/

`POST /accounts/organizations/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/accounts/organizations/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

Select an organization for the current session.

## Request body

- OrganizationSwitchRequest
  - `organization_id` string, uuid, required

## Response `200`

OK

- OrganizationSelectResponse
  - `status` boolean, required
  - `result` OrganizationSelectResult, required
    - `message` string, required
    - `organization` OrganizationSummary, required
      - `id` string, uuid, required
      - `name` string, required
      - `display_name` string, required
      - `ws_enabled` boolean

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error
- `default`: Default error response

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
