PrivacyPolicies
Introduction
PrivacyPolicies define internal or external privacy notices as inline content or links.
The text field uses the shared Rich Text HTML format.
Model Definition
Alias
privacyPolicy
Capabilities
Translations - Localizes
text; examples useen-US.
Admin: List
List all PrivacyPolicies in administration scope.
Definition
GET /api/administration/privacy-policies
Request Keys
select
string
All fields
Comma-separated fields to return.
limit
integer
No limit
Maximum number of records.
sort
string
Repository order
Comma-separated fields; prefix a field with - for descending order.
Example Request
Example Response
Admin: Show
Show one PrivacyPolicy in administration scope.
Definition
GET /api/administration/privacy-policies/{privacyPolicy}
Route Parameters
privacyPolicy
integer
Privacy policy ID.
Request Keys
select
string
All fields
Comma-separated fields to return.
Example Request
Example Response
Admin: Create
Create a new PrivacyPolicy.
Definition
POST /api/administration/privacy-policies
Request Keys
lang_id
string
System language
Language key. Use en-US for this example.
link
string | null
null
URL that provides the notice.
external
boolean
false
Whether the notice is intended for external visitors.
Behavior
At least one of
textorlinkis required.When
linkhas a value, the corresponding privacy notice redirects to that URL instead of renderingtext.The authenticated user is stored as the creating user.
Example Request
Example Response
Admin: Update
Update an existing PrivacyPolicy.
Definition
PUT /api/administration/privacy-policies/{privacyPolicy}
Route Parameters
privacyPolicy
integer
Privacy policy ID.
Request Keys
lang_id
string
Language key.
link
string | null
URL that provides the notice.
external
boolean
Whether the notice is intended for external visitors.
Behavior
Each update must provide at least one of
textorlink.When
linkhas a value, the corresponding privacy notice redirects to that URL instead of renderingtext.The authenticated user replaces the creating user stored on the record.
Example Request
Example Response
Admin: Delete
Delete an existing PrivacyPolicy.
Definition
DELETE /api/administration/privacy-policies/{privacyPolicy}
Route Parameters
privacyPolicy
integer
Privacy policy ID.
Example Request
Example Response
Last updated