--- title: "Add an owner to the current organization" canonical: "https://admiral.io/docs/api/organizations/OrganizationAPI_AddOrganizationOwner" --- # Add an owner to the current organization `POST https://api.admiral.io/v1/organizations/{organization}/add-owner` - NOT_FOUND when `user_id` is not a member of the organization. Scope: `organization:write` ### Path parameters - `organization` (string, required): The organization id. ### Request body - `user_id` (string, required): The `usr-` id of the member to make an owner. Pattern `^usr-[0-9a-z]+$`. ### Response 200 Success - `organization` (Organization): Organization is the account as its own members see it: its identity, its lifecycle state, and the settings they control. Operational detail about how the account is run is not part of this view. - `id` (string): `org-` and twelve base36 characters. Never changes and is never reused. Pattern `^org-[0-9a-z]+$`. Read-only. - `name` (string): The name, such as `acme`. Unique across Admiral and fixed when the organization is registered. Pattern `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. Read-only. - `display_name` (string): Human-readable name. Length at most 256. - `resource_name` (string): (IDENTIFIER) The resource name, `organizations/{organization}`, such as `organizations/acme`. Built from the organization's name. Update ignores it, because it acts on the caller's own organization. Pattern `^organizations/[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. - `avatar_url` (string): The organization's logo, shown on its sign-in page and in the console. Absent when none is set. Read-only. - `status` (Status): Lifecycle state. One of `STATUS_UNSPECIFIED`, `ACTIVE`, `SUSPENDED`. Read-only. - `owner_ids` (array of string): The `usr-` ids of the organization's owners. Owners are people, never a service account, and there is always at least one. Changed with AddOrganizationOwner and RemoveOrganizationOwner. Read-only. - `etag` (string): Changes whenever the organization does. Send it back on update to refuse the change if someone else changed the organization first. Read-only. - `created_at` (Timestamp): A point in time in RFC 3339 format, with up to nanosecond precision. Output uses UTC (`Z`); input may use an offset from UTC. Read-only. - `updated_at` (Timestamp): A point in time in RFC 3339 format, with up to nanosecond precision. Output uses UTC (`Z`); input may use an offset from UTC. Read-only.