Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
curl -X POST \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_AUTH_TOKEN" \
  -d '{
    "query": "mutation CreateTermsAndConditions { createTermsAndConditions( termsAndConditions: \"just a test\nmulti line\n# Titles work as well and markdown\" ) { acceptanceStatus companyId createdAt createdBy id isUniqueTermsAndConditions text } }"
  }' \
  YOUR_REQUEST_URL

you You can use any markdown in the terms and conditions. As , as described here: https://www.markdownguide.org/basic-syntax/

Info

Setting the Terms & Conditions to an empty string will completely remove the Terms and Conditions upon login.

...