Organizations
Create an organization
Creates a new organization. You become the organization owner automatically.
Creates a new organization. You become the organization owner automatically.
Authorization
apiKey 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
Length
1 <= length <= 100name*string
URL-safe organization identifier
Match
^[a-z0-9][a-z0-9-]*[a-z0-9]$Length
2 <= length <= 64Response 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"}{ "$schema": "https://api-dev.tektona.ai/schemas/ErrorModel.json", "detail": "Property foo is required but is missing.", "errors": [ { "location": "string", "message": "string", "value": null } ], "instance": "https://example.com/error-log/abc123", "status": 400, "title": "Bad Request", "type": "https://example.com/errors/example"}