v1
protected
dashboard
Update Workspace Settings
Changed onUpsert the current workspace's monthly spend cap as a policy rule.
put/v1/workspaces/{workspace}/settings
Request
- The document declares no server URL.
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
workspacestring required
Slug of the workspace the request acts in
Request body
Response
Successful Response
Changes
- breaking
response property
monthly_cap_usdlist-of-types was widened by adding typesstringto media typeapplication/jsonof response200 - breaking
the
/response's property type changed fromnumbertostringfor status - info
request property
/list-of-types was widened by adding typesstringto media typeapplication/json
- breaking
- info
endpoint added
- info