Skip to Content
Pouch
Admin providers

Move a legacy provider onto a shared one

POST
/v1/admin/providers/{id}/convert

Auth: Admin key.

Authorization

bearer
headerAuthorizationBearer <token>

An API key in the Authorization header.

Path Parameters

id*string

An opaque, type-prefixed id.

Response Body

The run started in the background, or one already running. Poll GET /v1/admin/providers/:id/convert until conversion.state is done or failed. A failed run resumes where it stopped when started again.

application/json
  1. response
id?string

The provider being converted. It keeps this id afterwards.

plan?

parent_id, parent_name, configuration_set_name, identities, permissions, stages (stage, done, calls) and converted.

conversion?|

The latest run: state (running, done or failed), started_at, heartbeat_at, finished_at, reached, stopped_at, error, missing_permissions and interrupted. Null before the first run.

started?boolean

False when a run was already in progress.

Example Request
curl -X POST 'https://pouch.example.com/v1/admin/providers/string/convert'
Example Response
{  "id": "string",  "plan": {},  "conversion": {},  "started": true}