Auth

Switch organization

Returns a new access token scoped to an organization you already belong to, so your following requests act on that organization. Switching does not move your account between organizations or change your membership.

get/auth/token/change-org/{org_id}

Request

  • Base URL: https://infrahub-api.nexgencloud.com/v1
  • URL: https://infrahub-api.nexgencloud.com/v1/auth/token/change-org/{org_id}
  • Auth: API key in header api_key

Path parameters

org_idinteger required

ID of the organization.

Response

Success

statusboolean

Whether the request succeeded.

messagestring

Human-readable description of the result.

Changes

No recorded changes to this operation across all 1 revision of this API.