Skip to content

Depot supportcontact

Registers the read and write routes on the tenant API mux.

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

GETclient:readtenant facehosteditmspremoteIdempotent

From an MSP console, prefix the path with /api/v1/clients/{clientID} to reach one client.

Source: [object Object]

Get support contact

StatusBodyDescription
200application/json, SupportContactViewSuccess.
401application/problem+json, ProblemDetailsNo signed-in identity.
403application/problem+json, ProblemDetailsThe identity does not hold client:read.
500application/problem+json, ProblemDetailsNo client store in request context.

200 response body

FieldTypeDescription
channelrequiredstring
emailrequiredstring
hoursrequiredstring
isSetrequiredboolean
namerequiredstring
phonerequiredstring
portalrequiredstring
Terminal window
# Sign in first. outpost_console is a session cookie, so send it with every request.
# This operation is idempotent. Repeating it does not repeat its effect.
curl -X GET 'https://depot.example.com/api/v1/organization/support-contact' \
-H 'X-CSRF-Token: <csrf-token>' \
-H 'Accept: application/json' \
-b 'outpost_console=<console-session>'

PUTclient:managetenant facehosteditmspremoteIdempotent

From an MSP console, prefix the path with /api/v1/clients/{clientID} to reach one client.

Source: [object Object]

Put support contact

Required, sent as application/json.

FieldTypeDescription
channelrequiredstring
emailrequiredstring
hoursrequiredstring
isSetrequiredboolean
namerequiredstring
phonerequiredstring
portalrequiredstring
StatusBodyDescription
200application/json, SupportContactViewSuccess.
400application/problem+json, ProblemDetailsOne or more validation errors occurred.
401application/problem+json, ProblemDetailsNo signed-in identity.
403application/problem+json, ProblemDetailsThe identity does not hold client:manage.
500application/problem+json, ProblemDetailsNo client context in request.

200 response body

FieldTypeDescription
channelrequiredstring
emailrequiredstring
hoursrequiredstring
isSetrequiredboolean
namerequiredstring
phonerequiredstring
portalrequiredstring
Terminal window
# Sign in first. outpost_console is a session cookie, so send it with every request.
# This operation is idempotent. Repeating it does not repeat its effect.
curl -X PUT 'https://depot.example.com/api/v1/organization/support-contact' \
-H 'X-CSRF-Token: <csrf-token>' \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-b 'outpost_console=<console-session>' \
--data '{
"channel": "string",
"email": "string",
"hours": "string",
"isSet": false,
"name": "string",
"phone": "string",
"portal": "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.