For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

Admin: List

List all PrivacyPolicies in administration scope.

Definition

GET /api/administration/privacy-policies

Request Keys

Key
Type
Default
Description

select

string

All fields

Comma-separated fields to return.

limit

integer

No limit

Maximum number of records.

filter

object

No filters

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

Parameter
Type
Description

privacyPolicy

integer

Privacy policy ID.

Request Keys

Key
Type
Default
Description

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

Key
Type
Default
Description

lang_id

string

System language

Language key. Use en-US for this example.

text

string | null

null

Notice content in Rich Text HTML.

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 text or link is required.

  • When link has a value, the corresponding privacy notice redirects to that URL instead of rendering text.

  • 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

Parameter
Type
Description

privacyPolicy

integer

Privacy policy ID.

Request Keys

Key
Type
Description

lang_id

string

Language key.

text

string | null

Notice content in Rich Text HTML.

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 text or link.

  • When link has a value, the corresponding privacy notice redirects to that URL instead of rendering text.

  • 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

Parameter
Type
Description

privacyPolicy

integer

Privacy policy ID.

Example Request

Example Response

Last updated