Skip to content

Depot provision

Registers the tenant provisioning route.

This page is generated from the Depot route table. Every operation carries the permission it needs and the anchor an agent can link to.

POSTpublic facehostedNot fully resolved

What this page does not know
  • response-status

These are parts of the route the extractor could not read from the source. Everything else on this page came straight from it.

Source: [object Object]

provision creates a tenant: its database, its roster row, its schema, its owner, and a single-use link that opens the console as that owner.

Idempotent on hostname. Core retries this call from the browser while the customer watches a spinner, so a second attempt must not fail on work the first one finished. A replay returns 200 with a FRESH handoff token, because the first token is single use and may already have been spent or expired - the customer who refreshed the page still has to get in.

Required, sent as application/json.

FieldTypeDescription
channelrequiredstring
coreClientPublicIdrequiredstring
hostnamerequiredstring
namerequiredstring
ownerDisplayNamerequiredstring
ownerEmailrequiredstring
ownerPhonerequiredstring
partnerGrantrequiredstring
StatusBodyDescription
200application/json, ProvisionResponseSuccess.
201application/json, ProvisionResponseCreated.
400application/problem+json, ProblemDetailsOne or more validation errors occurred.
401application/problem+json, ProblemDetailsAuthentication is required.
422application/problem+json, ProblemDetailsThis deployment does not host MSP partners.
500application/problem+json, ProblemDetailsCould not check hostname availability.
502application/problem+json, ProblemDetailsThe practice was created but its database could not be prepared. Retry provisioning.

200 response body

FieldTypeDescription
clientPublicIdrequiredstring
handoffTokenrequiredstring
handoffUrlrequiredstring
Terminal window
curl -X POST 'https://depot.example.com/api/v1/provision' \
-H 'Authorization: Bearer <provision-token>' \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
--data '{
"channel": "string",
"coreClientPublicId": "string",
"hostname": "string",
"name": "string",
"ownerDisplayName": "string",
"ownerEmail": "string",
"ownerPhone": "string",
"partnerGrant": "string"
}'

Content is licensed CC BY 4.0. Code samples are MIT. Outpost and the Outpost mark are trademarks of Outpost Business Solutions, PBC and are not covered by either license.