Organizations

Create an organization

Creates a new organization. You become the organization owner automatically.

POST
/v1/orgs

Creates a new organization. You become the organization owner automatically.

AuthorizationBearer <token>

API key starting with tektona_. Create one at app-dev.tektona.ai under API Keys.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

display_name*string

Human-readable organization name

Length1 <= length <= 100
name*string

URL-safe organization identifier

Match^[a-z0-9][a-z0-9-]*[a-z0-9]$
Length2 <= length <= 64

Response Body

application/json

application/problem+json

curl -X POST "https://api-dev.tektona.ai/v1/orgs" \  -H "Content-Type: application/json" \  -d '{    "display_name": "My Organization",    "name": "my-org"  }'
{  "$schema": "https://api-dev.tektona.ai/schemas/OrgResponse.json",  "created_at": "string",  "default_location_id": "eu",  "default_project_role": "none",  "display_name": "My Organization",  "id": "string",  "name": "my-org",  "updated_at": "string"}