TrustArc Permission Profiles API

The Permission Profiles API from TrustArc — 5 operation(s) for permission profiles.

GitHub OpenAPI
Business capability
Identity & Access Management BC-620.20

Operations 10

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/permission-profiles/{id} Get a permission profile · Get 7 #
Ask an LLM
“What roles and user groups are in a permission profile?”
“Can I look up one permission profile by id?”
Tell an agent
Get permission profile {id}.
Show the roles and user groups in permission profile {id}.
PUT /api/v1/permission-profiles/{id} Update a permission profile · Update 6 #
Ask an LLM
“Can I change the roles or user groups in an existing permission profile?”
“Is it possible to rename a permission profile?”
Tell an agent
Update permission profile {id} with roles {applicationRoles}.
Rename permission profile {id} to {name}.
DELETE /api/v1/permission-profiles/{id} Delete a permission profile · Delete 5 #
Ask an LLM
“Can I delete a permission profile I no longer use?”
“What happens to the users when a permission profile is removed?”
Tell an agent destructive · confirm first
Delete permission profile {id}.
Remove the permission profile {id} from the account.
GET /api/v1/permission-profiles List permission profiles · List 6 #
Ask an LLM
“Which permission profiles exist in my account?”
“Can I find a permission profile by name?”
Tell an agent
List permission profiles in account {accountId}.
Find permission profiles named {name}.
POST /api/v1/permission-profiles Create a permission profile · Create 6 #
Ask an LLM
“How do I create a new permission profile with roles and user groups?”
“Can I set an external id when creating a permission profile?”
Tell an agent
Create permission profile {name} with roles {applicationRoles}.
Create permission profile {name} with external id {externalId}.
GET /api/v1/permission-profiles/{id}/users List users in a permission profile · Find users #
Ask an LLM
“Which users are assigned to a particular permission profile?”
“Can I page through the users of one permission profile?”
Tell an agent
List users assigned to permission profile {id}.
Show page {page} of users in permission profile {id}, {size} per page.
POST /api/v1/permission-profiles/{id}/users Assign users to a permission profile · Update user permissions #
Ask an LLM
“How do I give users access to an application through a permission profile?”
“Can I add several users to a permission profile at once?”
Tell an agent
Assign users to permission profile {id}.
Add these users to permission profile {id} in one call.
DELETE /api/v1/permission-profiles/{id}/users Revoke all users' access from a profile · Remove user permissions #
Ask an LLM
“Can I revoke every user's access to an application by removing them from a profile?”
“What happens to users when I clear all assignments from a permission profile?”
Tell an agent destructive · confirm first
Remove all users from permission profile {id}.
Revoke every user's access through permission profile {id}.
GET /api/v1/permission-profiles/authorities List permission profile authorities · Authorities #
Ask an LLM
“What permission profile authorities exist in my account?”
“Can I fetch authorities for specific permission profiles?”
Tell an agent
List permission profile authorities in account {accountId}.
Fetch authorities for permission profiles {permissionIds}.
DELETE /api/v1/permission-profiles/{id}/users/{userId} Revoke one user's access from a profile · Remove user permission #
Ask an LLM
“How do I take a single user off an application through a permission profile?”
“Can I remove one user's access without deleting the profile?”
Tell an agent destructive · confirm first
Remove user {userId} from permission profile {id}.
Revoke user {userId}'s access to permission profile {id}.

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-permission-profiles-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-permission-profiles-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Guardian Permission Profiles API
  description: Guardian Authentication
  version: v1
servers:
- url: https://login.truste.com
  description: Generated server url
tags:
- name: Permission Profiles
paths:
  /api/v1/permission-profiles/{id}:
    get:
      tags:
      - Permission Profiles
      operationId: get_7
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/PermissionProfile'
      security:
      - guardianAuth: []
      summary: Get 7
      x-summary-source: derived
    put:
      tags:
      - Permission Profiles
      operationId: update_6
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PermissionProfile'
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/PermissionProfile'
      security:
      - guardianAuth: []
      summary: Update 6
      x-summary-source: derived
    delete:
      tags:
      - Permission Profiles
      operationId: delete_5
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '204':
          description: No Content
      security:
      - guardianAuth: []
      summary: Delete 5
      x-summary-source: derived
  /api/v1/permission-profiles:
    get:
      tags:
      - Permission Profiles
      operationId: list_6
      parameters:
      - name: accountId
        in: query
        required: false
        schema:
          type: string
          default: ''
      - name: name
        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:
            '*/*':
              schema:
                $ref: '#/components/schemas/PagePermissionProfile'
      security:
      - guardianAuth: []
      summary: List 6
      x-summary-source: derived
    post:
      tags:
      - Permission Profiles
      operationId: create_6
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PermissionProfile'
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/PermissionProfile'
      security:
      - guardianAuth: []
      summary: Create 6
      x-summary-source: derived
  /api/v1/permission-profiles/{id}/users:
    get:
      tags:
      - Permission Profiles
      operationId: findUsers
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - 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:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SimpleUserPermission'
      security:
      - guardianAuth: []
      summary: Find users
      x-summary-source: derived
    post:
      tags:
      - Permission Profiles
      operationId: updateUserPermissions
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                type: string
        required: true
      responses:
        '204':
          description: No Content
      security:
      - guardianAuth: []
      summary: Update user permissions
      x-summary-source: derived
    delete:
      tags:
      - Permission Profiles
      operationId: removeUserPermissions
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                type: string
        required: true
      responses:
        '204':
          description: No Content
      security:
      - guardianAuth: []
      summary: Remove user permissions
      x-summary-source: derived
  /api/v1/permission-profiles/authorities:
    get:
      tags:
      - Permission Profiles
      operationId: authorities
      parameters:
      - name: accountId
        in: query
        required: false
        schema:
          type: string
          default: ''
      - name: permissionIds
        in: query
        required: false
        schema:
          type: array
          default: []
          items:
            type: string
            format: uuid
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/AuthoritiesOnly'
      security:
      - guardianAuth: []
      summary: Authorities
      x-summary-source: derived
  /api/v1/permission-profiles/{id}/users/{userId}:
    delete:
      tags:
      - Permission Profiles
      operationId: removeUserPermission
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: userId
        in: path
        required: true
        schema:
          type: string
      responses:
        '204':
          description: No Content
      security:
      - guardianAuth: []
      summary: Remove user permission
      x-summary-source: derived
components:
  schemas:
    UserGroup:
      properties:
        name:
          type: string
        clientId:
          type: string
        applicationClientId:
          type: string
    PagePermissionProfile:
      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/PermissionProfile'
        number:
          type: integer
          format: int32
        sort:
          $ref: '#/components/schemas/SortObject'
        first:
          type: boolean
        last:
          type: boolean
        numberOfElements:
          type: integer
          format: int32
        empty:
          type: boolean
    PermissionProfile:
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        externalId:
          type: string
        applicationRoles:
          type: array
          items:
            $ref: '#/components/schemas/ClientApplicationRole'
          uniqueItems: true
        userGroups:
          type: array
          items:
            $ref: '#/components/schemas/PermissionProfileUserGroup'
          uniqueItems: true
        createdDate:
          type: string
          format: date-time
        modifiedDate:
          type: string
          format: date-time
        modifiedById:
          type: string
        userCount:
          type: integer
          format: int64
        accountId:
          type: string
    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
    SortObject:
      properties:
        empty:
          type: boolean
        sorted:
          type: boolean
        unsorted:
          type: boolean
    AuthoritiesOnly:
      properties:
        roles:
          type: array
          items:
            $ref: '#/components/schemas/ClientApplicationRole'
          uniqueItems: true
        userGroups:
          type: array
          items:
            $ref: '#/components/schemas/UserGroup'
          uniqueItems: true
    ClientApplicationRole:
      properties:
        id:
          type: string
        identifier:
          type: string
        name:
          type: string
        description:
          type: string
        permissions:
          type: string
    SimpleUserPermission:
      properties:
        id:
          type: string
        username:
          type: string
        firstName:
          type: string
        lastName:
          type: string
        permissionProfileIds:
          type: array
          items:
            type: string
            format: uuid
          uniqueItems: true
    PermissionProfileUserGroup:
      properties:
        name:
          type: string
        clientId:
          type: string
        permissionProfileId:
          type: string
          format: uuid
          writeOnly: true
  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)