Skip to content
Skip to Content
Coder Docs

Get user secrets capabilities

GET
/api/v2/deployment/user-secrets/capabilities

Authorization

CoderSessionToken
headerCoder-Session-Token<token>

Response Body

OK

application/json
  1. response
file_path_delivery_enabled?boolean

FilePathDeliveryEnabled reports whether Coder writes stored file paths into workspaces. Stored paths are preserved either way.

The samples read CODER_URL and CODER_SESSION_TOKEN: set up your environment.

curl -X GET \	"$CODER_URL/api/v2/deployment/user-secrets/capabilities" \	-H "Coder-Session-Token: $CODER_SESSION_TOKEN"
Example Response200
{  "file_path_delivery_enabled": true}