---
# @generated by sylphx-gen 0.1.0 from contracts@e145cc7cf1bc9605f2b27439e5e17ed76a1a2fd7e7021906a013f7565e4a0cd5. Do not edit.
title: "Customer organizations"
description: "The `customer_organizations` collection of Sylphx Auth: A Customer Organization is a B2B tenant inside a customer's app."
type: reference
product: organizations
summary: "A Customer Organization is a B2B tenant inside a customer's app."
updated: 2026-09-28
order: 900
---

A Customer Organization is a B2B tenant inside a customer's app. It is never a Sylphx org and never a Resource name segment of anything but its own memberships.

**Service** Sylphx Auth · **Resource type** `auth.sylphx.com/CustomerOrganization` · **Name pattern** `orgs/{org}/projects/{project}/envs/{env}/customer_organizations/{customer_organization}` · **Shape** `record`

## Fields

| Field | Type | What it is |
| --- | --- | --- |
| `name` | `string` | `orgs/{org}/projects/{project}/envs/{env}/customer_organizations/{customer_organization}`. |
| `uid` | `string` | `cor_<cell><ulid>`; never reused. Output only. |
| `meta` | `ResourceMeta` | Resource metadata. |
| `slug` | `string` | Unique within the environment. |
| `verified_domains` | `string[]` | Verified email domains; end users with a matching verified email may join. Output only. |
| `public_metadata` | `struct` | App data. |
| `member_count` | `int32` | Live memberships. Output only. |

## Methods

Every method of the collection, in the registry's order, with the scope it
needs. The full request, response and examples are one link away.

| Method | Call | What it does |
| --- | --- | --- |
| `GET` | [`get`](/docs/api/customer_organizations#get) | Gets a customer organization. |
| `GET` | [`list`](/docs/api/customer_organizations#list) | Lists customer organizations. |
| `POST` | [`create`](/docs/api/customer_organizations#create) | Creates a customer organization. |
| `PATCH` | [`update`](/docs/api/customer_organizations#update) | Updates a customer organization. |
| `DELETE` | [`delete`](/docs/api/customer_organizations#delete) | Deletes a customer organization. |

## get

Gets a customer organization.

`GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/customer_organizations/customer-organization` · scope `auth:read` · effect `read` · [Request, response and examples](/docs/api/customer_organizations/get)

## list

Lists customer organizations.

`GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/customer_organizations` · scope `auth:read` · effect `read` · paginated · [Request, response and examples](/docs/api/customer_organizations/list)

## create

Creates a customer organization.

`POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/customer_organizations` · scope `auth:write` · effect `write` · [Request, response and examples](/docs/api/customer_organizations/create)

## update

Updates a customer organization.

`PATCH https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/customer_organizations/customer-organization` · scope `auth:write` · effect `write` · [Request, response and examples](/docs/api/customer_organizations/update)

## delete

Deletes a customer organization.

`DELETE https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/customer_organizations/customer-organization` · scope `auth:write` · effect `destructive` · [Request, response and examples](/docs/api/customer_organizations/delete)
