---
title: "Generate an SSO token for a hosting account"
method: POST
path: "/api/reseller/hosting-accounts/{id}/generate-sso-token"
tags: ["Reseller - Hosting Accounts"]
---

# Generate an SSO token for a hosting account

`POST /api/reseller/hosting-accounts/{id}/generate-sso-token`

Generate an SSO token for a hosting account.

## Path parameters

- `id` integer, required

## Response `200`

Token generated successfully

- object
  - `redirect_url` string, uri
  - `sso_url` string, uri
  - `token` string
  - `message` string

## Other responses

- `404` — Hosting account not found
- `422` — Failed to generate token

---

[API](https://skmtc.dev/adminbolt/apis/adminbolt-api-documentation.md) · [All operations](https://skmtc.dev/adminbolt/apis/adminbolt-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/adminbolt/adminbolt-api-documentation/revisions/bf4f36fbfbd3/schema)
