Account

Approve a pending device login into one of your orgs (session only)

Changed on

Approves a pending device login, giving the CLI a 30-day session as you in the chosen org with your membership role. Needs a signed-in user session. The session has the same permissions your dashboard session has in that org, including session-only actions an API key can never perform.

Requires the self.update permission. See Permissions for the roles and API key permissions that include it.

post/v1/cli-auth/device/{userCode}/approve

Request

  • Base URL
    https://api.openrelay.inc
  • URL
    https://api.openrelay.inc/v1/cli-auth/device/{userCode}/approve
  • Auth
    HTTP bearer

Path parameters

userCodestring required

Request body

orgIdstring required

Response

Approved

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      endpoint added