auth

Create a single-use CLI install grant for the signed-in user

post/api/v1/auth/cli/install

Request

  • Base URL
    https://composal.com (the document declares no server; this is the origin it was published from)
  • URL
    https://composal.com/api/v1/auth/cli/install
  • Auth
    HTTP bearer

Request body

organization_slugstring required

Response

Install grant valid for 45 minutes; the organization becomes the CLI default

install_tokenstring required

Single-use secret. Return only to the user who requested it.

expires_atstring date-time required

Changes

No recorded changes to this operation across all 4 revisions of this API.