Skip to content

Depot remoteviewersettings

Registers the caller’s own remote viewer settings routes.

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

GETremote:initiatetenant facehosteditmspremoteIdempotent

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

Source: [object Object]

getMyRemoteViewerSettings returns the caller’s remote viewer settings, with defaults for every key they have not set, and the defaults.

StatusBodyDescription
200application/json, ViewerSettingsResponseSuccess.
400application/problem+json, ProblemDetailsOne or more validation errors occurred.
401application/problem+json, ProblemDetailsAuthentication is required.
403application/problem+json, ProblemDetailsThe identity does not hold remote:initiate.
500application/problem+json, ProblemDetailsThe request failed.
503application/problem+json, ProblemDetailsViewer settings are not available.

200 response body

FieldTypeDescription
defaultsrequiredobject
settingsrequiredobject
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/me/remote-viewer-settings' \
-H 'X-CSRF-Token: <csrf-token>' \
-H 'Accept: application/json' \
-b 'outpost_console=<console-session>'

PUTremote:initiatetenant facehosteditmspremoteIdempotent

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

Source: [object Object]

putMyRemoteViewerSettings saves some or all of the caller’s remote viewer settings over the ones stored, and returns the result.

Required, sent as application/json.

FieldTypeDescription
settingsrequiredobject
StatusBodyDescription
200application/json, ViewerSettingsResponseSuccess.
400application/problem+json, ProblemDetailsThe request body is not valid JSON.
401application/problem+json, ProblemDetailsAuthentication is required.
403application/problem+json, ProblemDetailsThe identity does not hold remote:initiate.
500application/problem+json, ProblemDetailsThe request failed.
503application/problem+json, ProblemDetailsViewer settings are not available.

200 response body

FieldTypeDescription
defaultsrequiredobject
settingsrequiredobject
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/me/remote-viewer-settings' \
-H 'X-CSRF-Token: <csrf-token>' \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-b 'outpost_console=<console-session>' \
--data '{
"settings": {
"key": "string"
}
}'

DELETEremote:initiatetenant facehosteditmspremoteIdempotent

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

Source: [object Object]

deleteMyRemoteViewerSettings puts the caller back on the default viewer settings.

204 also when nothing was stored.

StatusBodyDescription
204NoneSuccess, with no body.
400application/problem+json, ProblemDetailsOne or more validation errors occurred.
401application/problem+json, ProblemDetailsAuthentication is required.
403application/problem+json, ProblemDetailsThe identity does not hold remote:initiate.
500application/problem+json, ProblemDetailsThe request failed.
503application/problem+json, ProblemDetailsViewer settings are not available.
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 DELETE 'https://depot.example.com/api/v1/me/remote-viewer-settings' \
-H 'X-CSRF-Token: <csrf-token>' \
-H 'Accept: application/json' \
-b 'outpost_console=<console-session>'

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.