Deployments
Preview

Get the organization's deployment defaults

GET
/deployment-settings
cookiebetter-auth.session_token<token>

Better Auth session cookie. Production uses the __Secure- prefixed name.

Response Body

The defaults.

application/json
  1. response
pruneDefault*boolean

What a deployment with no prune choice of its own does.

updatedAt*|

Null while the organization has set none.

Formatdate-time
Example Request
curl -X GET 'https://wardn.example.com/api/v1/deployment-settings'
Example Response
{  "pruneDefault": true,  "updatedAt": "2019-08-24T14:15:22Z"}