/v1/policies/acceptable-useReports whether you have accepted the current versions of the policies that make up the
acceptable use policy: the privacy and data policy (privacy_data_policy) and the fair use
policy (fair_use_policy).
accepted is true only when every policy is accepted at its current version. Until then,
creating a VM, a deployment or an app returns 428 Precondition Required with
action: accept_acceptable_use_policy. Accept with
Accept the acceptable use policy.
Authentication
Send your API key as Authorization: Bearer <token>.
Response
Your acceptance status.
successbooleanRequiredtrue when the request succeeded.
messagestringRequiredHuman-readable status message.
dataobjectShow attributesHide attributes
acceptedbooleanRequiredtrue when every policy below is accepted at its current version.
policiesarray of objectsRequiredStatus of each policy that makes up the acceptable use policy.
Show item attributesHide item attributes
policy_keystringRequiredWhich policy this is.
One ofprivacy_data_policyfair_use_policy
versionstringRequiredThe current version of the policy.
acceptedbooleanRequiredWhether you have accepted this version.
accepted_atstring (date-time)When you accepted this version. Omitted when not accepted.
Errors
| Status | Meaning |
|---|---|
401 | The API key is missing, invalid, expired or revoked. |
403 | You cannot access the workspace, your role does not allow this action, or the account is suspended. |
Errors use the standard error format.