Skip to content

Accept the acceptable use policy

POST/v1/policies/acceptable-use/accept

Accepts the current version of every policy in the acceptable use policy for your account. You must do this once before you can create a VM, a deployment or an app. Those endpoints return 428 until you have.

No request body is needed. The acceptance is recorded with the time, your IP address and your user agent. Calling it again is safe: it refreshes accepted_at.

Returns the updated status, the same shape as Get acceptable use policy status.

Authentication

Send your API key as Authorization: Bearer <token>.

Response

200

The policies were accepted.

successbooleanRequired

true when the request succeeded.

messagestringRequired

Human-readable status message.

dataobject
Show attributes
acceptedbooleanRequired

true when every policy below is accepted at its current version.

policiesarray of objectsRequired

Status of each policy that makes up the acceptable use policy.

Show item attributes
policy_keystringRequired

Which policy this is.

One ofprivacy_data_policyfair_use_policy

versionstringRequired

The current version of the policy.

acceptedbooleanRequired

Whether you have accepted this version.

accepted_atstring (date-time)

When you accepted this version. Omitted when not accepted.

Errors

StatusMeaning
401The API key is missing, invalid, expired or revoked.
403You cannot access the workspace, your role does not allow this action, or the account is suspended.

Errors use the standard error format.