Skip to main content
POST
/
v1
/
admin
/
legal
/
terms
Create a legal term
curl --request POST \
  --url https://{operatorDomain}/v1/admin/legal/terms \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "<string>",
  "title": "<string>",
  "slug": "<string>",
  "body": "<string>"
}
'
{
  "data": {
    "id": "<string>",
    "title": "<string>",
    "slug": "<string>",
    "body": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Staff session or API token issued by your Voyant app.

Body

application/json
id
string
required
title
string
required
slug
string | null
body
string | null

Response

201 - application/json

Created term

data
object