...
Use this command to set it:
Code Block |
---|
curl -X POST-location 'https://gateway.<baseUrl>/chat/graphql' \ --Hheader "'Content-Type: application/json"' \ --Hheader "'Authorization: Bearer YOUR_AUTH_TOKEN"{TOKEN}' \ --ddata '{ "query": "mutation CreateTermsAndConditions createTermsAndConditions($termsAndConditions: String!) {\n createTermsAndConditions( termsAndConditions: \"just a test\nmulti line\n# Titles work as well and markdown\" ) { acceptanceStatus companyId createdAt createdBy id isUniqueTermsAndConditions text } }" }' \ YOUR_REQUEST_URL |
...
$termsAndConditions) {\n id\n text\n isUniqueTermsAndConditions\n createdBy\n createdAt\n companyId\n }\n}","variables":{"termsAndConditions":"just a test\nmulti line\n# Titles work as well and markdown"}}' |
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. |
...
Author |
---|