TrustArc Accounts Prefaces API

The Accounts-Prefaces API from TrustArc — 3 operation(s) for accounts-prefaces.

GitHub OpenAPI

Operations 6

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/v1/accounts/{accountId}/prefaces/{prefaceId} Get a preface on an account · Get 13 #
Ask an LLM
“How do I read one preface from an account?”
“Can I fetch a single preface by its ID?”
Tell an agent
Get preface {prefaceId} on account {accountId}.
Show preface {prefaceId} for account {accountId}.
PUT /api/v1/accounts/{accountId}/prefaces/{prefaceId} Enable or disable a preface · Update 13 #
Ask an LLM
“How do I turn a preface on or off?”
“Can I disable a preface on an account?”
Tell an agent
Set enabled to {enabled} on preface {prefaceId} for account {accountId}.
Update preface {prefaceId} on account {accountId}.
DELETE /api/v1/accounts/{accountId}/prefaces/{prefaceId} Delete a preface · Delete 11 #
Ask an LLM
“How do I remove a preface from an account?”
“Can I delete a preface by its ID?”
Tell an agent destructive · confirm first
Delete preface {prefaceId} from account {accountId}.
Remove preface {prefaceId} on account {accountId}.
GET /api/v1/accounts/{accountId}/prefaces List an account's prefaces · List by account #
Ask an LLM
“What prefaces are on an account?”
“Can I page through an account's prefaces?”
Tell an agent
List prefaces on account {accountId}.
Show {size} prefaces per page for account {accountId}, sorted by {sort}.
POST /api/v1/accounts/{accountId}/prefaces Create a preface on an account · Create 14 #
Ask an LLM
“How do I add a new preface to an account?”
“Can I create a preface with a given ID?”
Tell an agent
Create preface {prefaceId} on account {accountId}.
Add a preface to account {accountId} with enabled set to {enabled}.
GET /api/v1/accounts/prefaces List prefaces across accounts · List 32 #
Ask an LLM
“Which prefaces exist across all accounts?”
“Can I find a preface by account ID?”
Tell an agent
List prefaces across all accounts.
Find the preface on account {accountId}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/trustarc:trustarc-accounts-prefaces-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

trustarc-accounts-prefaces-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Guardian Accounts Prefaces API
  description: Guardian Authentication
  version: v1
servers:
- url: https://login.truste.com
  description: Generated server url
tags:
- name: Accounts-Prefaces
paths:
  /api/v1/accounts/{accountId}/prefaces/{prefaceId}:
    get:
      tags:
      - Accounts-Prefaces
      operationId: get_13
      parameters:
      - name: accountId
        in: path
        required: true
        schema:
          type: string
      - name: prefaceId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomerAccountPreface'
      security:
      - guardianAuth: []
      summary: Get 13
      x-summary-source: derived
    put:
      tags:
      - Accounts-Prefaces
      operationId: update_13
      parameters:
      - name: accountId
        in: path
        required: true
        schema:
          type: string
      - name: prefaceId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CustomerAccountPreface'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomerAccountPreface'
      security:
      - guardianAuth: []
      summary: Update 13
      x-summary-source: derived
    delete:
      tags:
      - Accounts-Prefaces
      operationId: delete_11
      parameters:
      - name: accountId
        in: path
        required: true
        schema:
          type: string
      - name: prefaceId
        in: path
        required: true
        schema:
          type: string
      responses:
        '204':
          description: No Content
      security:
      - guardianAuth: []
      summary: Delete 11
      x-summary-source: derived
  /api/v1/accounts/{accountId}/prefaces:
    get:
      tags:
      - Accounts-Prefaces
      operationId: listByAccount
      parameters:
      - name: accountId
        in: path
        required: true
        schema:
          type: string
      - name: page
        in: query
        description: Results page you want to retrieve (0..N).
        schema:
          default: 0
          minimum: 0
      - name: size
        in: query
        description: Number of recods per page.
        schema:
          default: 10
          minimum: 1
      - name: sort
        in: query
        description: 'Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.'
        schema:
          type: array
          items: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PageCustomerAccountPreface'
      security:
      - guardianAuth: []
      summary: List by account
      x-summary-source: derived
    post:
      tags:
      - Accounts-Prefaces
      operationId: create_14
      parameters:
      - name: accountId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CustomerAccountPreface'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomerAccountPreface'
      security:
      - guardianAuth: []
      summary: Create 14
      x-summary-source: derived
  /api/v1/accounts/prefaces:
    get:
      tags:
      - Accounts-Prefaces
      operationId: list_32
      parameters:
      - name: accountId
        in: query
        required: false
        schema:
          type: string
          default: ''
      - name: page
        in: query
        description: Results page you want to retrieve (0..N).
        schema:
          default: 0
          minimum: 0
      - name: size
        in: query
        description: Number of recods per page.
        schema:
          default: 10
          minimum: 1
      - name: sort
        in: query
        description: 'Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.'
        schema:
          type: array
          items: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PageEntryStringListCustomerAccountPreface'
      security:
      - guardianAuth: []
      summary: List 32
      x-summary-source: derived
components:
  schemas:
    SortObject:
      properties:
        empty:
          type: boolean
        sorted:
          type: boolean
        unsorted:
          type: boolean
    PageableObject:
      properties:
        paged:
          type: boolean
        pageNumber:
          type: integer
          format: int32
        pageSize:
          type: integer
          format: int32
        offset:
          type: integer
          format: int64
        sort:
          $ref: '#/components/schemas/SortObject'
        unpaged:
          type: boolean
    PageCustomerAccountPreface:
      properties:
        totalElements:
          type: integer
          format: int64
        totalPages:
          type: integer
          format: int32
        pageable:
          $ref: '#/components/schemas/PageableObject'
        size:
          type: integer
          format: int32
        content:
          type: array
          items:
            $ref: '#/components/schemas/CustomerAccountPreface'
        number:
          type: integer
          format: int32
        sort:
          $ref: '#/components/schemas/SortObject'
        first:
          type: boolean
        last:
          type: boolean
        numberOfElements:
          type: integer
          format: int32
        empty:
          type: boolean
    PageEntryStringListCustomerAccountPreface:
      properties:
        totalElements:
          type: integer
          format: int64
        totalPages:
          type: integer
          format: int32
        pageable:
          $ref: '#/components/schemas/PageableObject'
        size:
          type: integer
          format: int32
        content:
          type: array
          items:
            type: object
            properties:
              value:
                type: array
                items:
                  $ref: '#/components/schemas/CustomerAccountPreface'
              key:
                type: string
        number:
          type: integer
          format: int32
        sort:
          $ref: '#/components/schemas/SortObject'
        first:
          type: boolean
        last:
          type: boolean
        numberOfElements:
          type: integer
          format: int32
        empty:
          type: boolean
    CustomerAccountPreface:
      properties:
        enabled:
          type: boolean
        accountId:
          type: string
        prefaceId:
          type: string
          format: uuid
  securitySchemes:
    guardianAuth:
      type: oauth2
      scheme: bearer
      bearerFormat: JWT
      flows:
        implicit:
          authorizationUrl: https://login.truste.com/oauth/authorize
          tokenUrl: https://login.truste.com/oauth/token
          scopes:
            openid: OpenID
x-provenance:
  method: harvested
  publisher: TrustArc
  source: https://login.truste.com/v3/api-docs
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)