Koyeb organization API
The organization API from Koyeb — 12 operation(s) for organization.
The organization API from Koyeb — 12 operation(s) for organization.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/koyeb-organization-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Koyeb Rest Organization API
description: 'The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests.
'
version: 1.0.0
servers:
- url: https://app.koyeb.com
security:
- Bearer: []
tags:
- name: organization
paths:
/v1/github/installation:
get:
summary: Fetch Github Installation configuration
operationId: GetGithubInstallation
responses:
'200':
description: A successful response.
content:
application/json:
schema:
$ref: '#/components/schemas/GetGithubInstallationReply'
'400':
description: Validation error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorWithFields'
'401':
description: Returned when the token is not valid.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Returned when the user does not have permission to access the resource.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Returned when the resource does not exist.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Returned in case of server error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'503':
description: Service is unavailable.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/google.rpc.Status'
tags:
- organization
post:
summary: Start Github Installation
operationId: GithubInstallation
responses:
'200':
description: A successful response.
content:
application/json:
schema:
$ref: '#/components/schemas/GithubInstallationReply'
'400':
description: Validation error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorWithFields'
'401':
description: Returned when the token is not valid.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Returned when the user does not have permission to access the resource.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Returned when the resource does not exist.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Returned in case of server error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'503':
description: Service is unavailable.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/google.rpc.Status'
tags:
- organization
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/GithubInstallationRequest'
required: true
/v1/organizations:
post:
summary: Create Organization
operationId: CreateOrganization
responses:
'200':
description: A successful response.
content:
application/json:
schema:
$ref: '#/components/schemas/CreateOrganizationReply'
'400':
description: Validation error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorWithFields'
'401':
description: Returned when the token is not valid.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Returned when the user does not have permission to access the resource.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Returned when the resource does not exist.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Returned in case of server error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'503':
description: Service is unavailable.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/google.rpc.Status'
tags:
- organization
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CreateOrganizationRequest'
required: true
/v1/organizations/{id}:
get:
summary: Get Organization
operationId: GetOrganization
responses:
'200':
description: A successful response.
content:
application/json:
schema:
$ref: '#/components/schemas/GetOrganizationReply'
'400':
description: Validation error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorWithFields'
'401':
description: Returned when the token is not valid.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Returned when the user does not have permission to access the resource.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Returned when the resource does not exist.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Returned in case of server error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'503':
description: Service is unavailable.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/google.rpc.Status'
parameters:
- name: id
in: path
required: true
schema:
type: string
tags:
- organization
delete:
summary: Delete an Organization
operationId: DeleteOrganization
responses:
'200':
description: A successful response.
content:
application/json:
schema:
$ref: '#/components/schemas/DeleteOrganizationReply'
'400':
description: Validation error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorWithFields'
'401':
description: Returned when the token is not valid.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Returned when the user does not have permission to access the resource.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Returned when the resource does not exist.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Returned in case of server error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'503':
description: Service is unavailable.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/google.rpc.Status'
parameters:
- name: id
in: path
required: true
schema:
type: string
tags:
- organization
put:
summary: Update Organization
operationId: UpdateOrganization
responses:
'200':
description: A successful response.
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateOrganizationReply'
'400':
description: Validation error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorWithFields'
'401':
description: Returned when the token is not valid.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Returned when the user does not have permission to access the resource.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Returned when the resource does not exist.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Returned in case of server error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'503':
description: Service is unavailable.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/google.rpc.Status'
parameters:
- name: id
in: path
required: true
schema:
type: string
- name: update_mask
in: query
required: false
schema:
type: string
tags:
- organization
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/Organization'
required: true
patch:
summary: Update Organization
operationId: UpdateOrganization2
responses:
'200':
description: A successful response.
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateOrganizationReply'
'400':
description: Validation error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorWithFields'
'401':
description: Returned when the token is not valid.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Returned when the user does not have permission to access the resource.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Returned when the resource does not exist.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Returned in case of server error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'503':
description: Service is unavailable.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/google.rpc.Status'
parameters:
- name: id
in: path
required: true
schema:
type: string
- name: update_mask
in: query
required: false
schema:
type: string
tags:
- organization
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/Organization'
required: true
/v1/organizations/{id}/access_token:
post:
summary: CreateAccessToken
description: 'CreateAccessToken creates a short-lived access token in the scope of the
specified organization, provided the user making the request is part of
said organization.
It''s possible to specify a validity for the token, which defaults to 1h
and must be no more than 24h. The format is `<number>s`, where `<number>`
is a floating point in seconds (so `123.456789012s` means 123 seconds and
456789012 nanoseconds). See:
https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Duration.html.'
operationId: CreateAccessToken
responses:
'200':
description: A successful response.
content:
application/json:
schema:
$ref: '#/components/schemas/CreateAccessTokenReply'
'400':
description: Validation error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorWithFields'
'401':
description: Returned when the token is not valid.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Returned when the user does not have permission to access the resource.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Returned when the resource does not exist.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Returned in case of server error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'503':
description: Service is unavailable.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/google.rpc.Status'
parameters:
- name: id
description: Organization id for ephemeral credential
in: path
required: true
schema:
type: string
tags:
- organization
requestBody:
content:
application/json:
schema:
type: object
properties:
validity:
type: string
title: Validity of the credential
required: true
/v1/organizations/{id}/deactivate:
post:
summary: Deactivate an Organization
operationId: DeactivateOrganization
responses:
'200':
description: A successful response.
content:
application/json:
schema:
$ref: '#/components/schemas/DeactivateOrganizationReply'
'400':
description: Validation error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorWithFields'
'401':
description: Returned when the token is not valid.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Returned when the user does not have permission to access the resource.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Returned when the resource does not exist.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Returned in case of server error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'503':
description: Service is unavailable.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/google.rpc.Status'
parameters:
- name: id
in: path
required: true
schema:
type: string
tags:
- organization
requestBody:
content:
application/json:
schema:
type: object
properties:
skip_confirmation:
type: boolean
description: 'if set to true, skip_confirmation will directly start the deactivation
process, without sending a confirmation email beforehand.'
required: true
/v1/organizations/{id}/default_project:
put:
summary: Update Organization's default project
operationId: UpdateOrganizationDefaultProject
responses:
'200':
description: A successful response.
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateOrganizationDefaultProjectReply'
'400':
description: Validation error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorWithFields'
'401':
description: Returned when the token is not valid.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Returned when the user does not have permission to access the resource.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Returned when the resource does not exist.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Returned in case of server error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'503':
description: Service is unavailable.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/google.rpc.Status'
parameters:
- name: id
in: path
required: true
schema:
type: string
tags:
- organization
requestBody:
content:
application/json:
schema:
type: object
properties:
default_project_id:
type: string
required: true
/v1/organizations/{id}/name:
put:
summary: Update Organization Name
operationId: UpdateOrganizationName
responses:
'200':
description: A successful response.
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateOrganizationNameReply'
'400':
description: Validation error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorWithFields'
'401':
description: Returned when the token is not valid.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Returned when the user does not have permission to access the resource.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Returned when the resource does not exist.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Returned in case of server error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'503':
description: Service is unavailable.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/google.rpc.Status'
parameters:
- name: id
in: path
required: true
schema:
type: string
tags:
- organization
requestBody:
content:
application/json:
schema:
type: object
properties:
name:
type: string
required: true
/v1/organizations/{id}/plan:
post:
summary: Update Organization plan
operationId: UpdateOrganizationPlan
responses:
'200':
description: A successful response.
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateOrganizationPlanReply'
'400':
description: Validation error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorWithFields'
'401':
description: Returned when the token is not valid.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Returned when the user does not have permission to access the resource.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Returned when the resource does not exist.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Returned in case of server error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'503':
description: Service is unavailable.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/google.rpc.Status'
parameters:
- name: id
in: path
required: true
schema:
type: string
tags:
- organization
requestBody:
content:
application/json:
schema:
type: object
properties:
plan:
$ref: '#/components/schemas/Plan'
coupon_code:
type: string
required: true
/v1/organizations/{id}/reactivate:
post:
summary: Reactivate an Organization
operationId: ReactivateOrganization
responses:
'200':
description: A successful response.
content:
application/json:
schema:
$ref: '#/components/schemas/ReactivateOrganizationReply'
'400':
description: Validation error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorWithFields'
'401':
description: Returned when the token is not valid.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Returned when the user does not have permission to access the resource.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Returned when the resource does not exist.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Returned in case of server error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'503':
description: Service is unavailable.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/google.rpc.Status'
parameters:
- name: id
in: path
required: true
schema:
type: string
tags:
- organization
requestBody:
content:
application/json:
schema:
type: object
required: true
/v1/organizations/{id}/signup_qualification:
post:
summary: Upsert Organization's signup qualification
operationId: UpsertSignupQualification
responses:
'200':
description: A successful response.
content:
application/json:
schema:
$ref: '#/components/schemas/UpsertSignupQualificationReply'
'400':
description: Validation error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorWithFields'
'401':
description: Returned when the token is not valid.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Returned when the user does not have permission to access the resource.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Returned when the resource does not exist.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Returned in case of server error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'503':
description: Service is unavailable.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/google.rpc.Status'
parameters:
- name: id
in: path
required: true
schema:
type: string
tags:
- organization
requestBody:
content:
application/json:
schema:
type: object
properties:
signup_qualification:
type: object
required: true
/v1/organizations/{id}/switch:
post:
summary: 'Switch Organization context
DEPRECATED: this has been replaced by WorkOS and will be dropped soon.'
operationId: SwitchOrganization
responses:
'200':
description: A successful response.
content:
application/json:
schema:
$ref: '#/components/schemas/LoginReply'
'400':
description: Validation error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorWithFields'
'401':
description: Returned when the token is not valid.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Returned when the user does not have permission to access the resource.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Returned when the resource does not exist.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Returned in case of server error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'503':
description: Service is unavailable.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/google.rpc.Status'
parameters:
- name: id
in: path
required: true
schema:
type: string
- name: seon-fp
description: Seon Fingerprint
in: header
required: false
schema:
type: string
tags:
- organization
requestBody:
content:
application/json:
schema:
type: object
required: true
/v1/organizations/{organization_id}/budget:
get:
summary: Get Budget
operationId: GetBudget
responses:
'200':
description: A successful response.
content:
application/json:
schema:
$ref: '#/components/schemas/GetBudgetReply'
'400':
description: Validation error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorWithFields'
'401':
description: Returned when the token is not valid.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Returned when the user does not have permission to access the resource.
content:
applicati
# --- truncated at 32 KB (53 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/koyeb/refs/heads/main/openapi/koyeb-organization-api-openapi.yml