Console API

Your account as an API: projects, access keys and usage, for automation and infrastructure as code.

Projects

  • GET /projects The projects in the account.
  • POST /projects Create a project.
  • PATCH /projects/{project} Rename a project or change its region.

Access keys

  • GET /keys Every key with its scope and when it was last used.
  • POST /keys Create a key. The secret is shown once.
  • DELETE /keys/{key} Revoke a key at once.

Usage

  • GET /usage Usage per product for the current billing cycle.
  • GET /invoices Past invoices, with a link to each PDF.

Example

List projects
curl https://api.ordnary.com/v1/projects \
  -H "Authorization: Bearer $OCK_TOKEN"
Access keys

Other APIs

Choose which cookies Ordnary may use. You can change this at any time via Cookie settings at the bottom of every page.