Treasure Data Access Control - Policy Groups API

The Access Control - Policy Groups API from Treasure Data — 3 operation(s) for access control - policy groups.

Business capability
Identity & Access Management BC-620.20

Operations 7

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 /access_control/policy_groups List policy groups · get Access Control Policy Groups #
Ask an LLM
“Which access control policy groups exist in my account?”
“Can I see all the groups I use to bundle policies together?”
Tell an agent
List all policy groups.
Show every access control policy group in the account.
POST /access_control/policy_groups Create a policy group · Create an Access Control Policy Group #
Ask an LLM
“How do I create a group to organize related access policies?”
“What is required to start a new policy group?”
Tell an agent
Create a policy group named {name}.
Start a new access control policy group called {name}.
GET /access_control/policy_groups/{policy_group_id_or_taggable_name} Get a policy group · Get an Access Control Policy Group #
Ask an LLM
“What are the details of a particular policy group?”
“Can I look up a policy group by its ID or taggable name?”
Tell an agent
Show policy group {policy_group_id_or_taggable_name}.
Get the details of the {policy_group_id_or_taggable_name} policy group.
PATCH /access_control/policy_groups/{policy_group_id_or_taggable_name} Rename or describe a policy group · Update an Access Control Policy Group #
Ask an LLM
“Can I rename a policy group or change its description?”
“Is it possible to edit a policy group's name after it is created?”
Tell an agent
Rename policy group {policy_group_id_or_taggable_name} to {name}.
Update policy group {policy_group_id_or_taggable_name} with name {name} and description {description}.
DELETE /access_control/policy_groups/{policy_group_id_or_taggable_name} Delete a policy group · Delete an Access Control Policy Group #
Ask an LLM
“How do I remove a policy group I no longer need?”
“Can a policy group be deleted using its taggable name?”
Tell an agent destructive · confirm first
Delete policy group {policy_group_id_or_taggable_name}.
Remove the {policy_group_id_or_taggable_name} policy group.
GET /access_control/policy_groups/{policy_group_id_or_taggable_name}/policies List the policies in a policy group · Get an Access Control Policy Group's Policies #
Ask an LLM
“Which policies belong to a given policy group?”
“Can I see what policies a group currently bundles?”
Tell an agent
List the policies in policy group {policy_group_id_or_taggable_name}.
Show which policies group {policy_group_id_or_taggable_name} contains.
PATCH /access_control/policy_groups/{policy_group_id_or_taggable_name}/policies Set the policies in a policy group · Update an Access Control Policy Group's Policies #
Ask an LLM
“How do I change which policies are attached to a policy group?”
“Can I replace a group's policies with a new list in one call?”
Tell an agent
Set the policies of group {policy_group_id_or_taggable_name} to {policy_ids}.
Attach policies {policy_ids} to policy group {policy_group_id_or_taggable_name}, replacing the current set.

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/treasure-data:treasure-data-access-control-policy-groups-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

treasure-data-access-control-policy-groups-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Treasure Data Access Control - Policy Groups API
  version: '3'
servers:
- url: https://api.treasuredata.com/v3
- url: https://api.treasuredata.co.jp/v3
- url: https://api.ap02.treasuredata.com/v3
- url: https://api.eu01.treasuredata.com/v3
security:
- ApiKeyAuth: []
tags:
- name: Access Control - Policy Groups
paths:
  /access_control/policy_groups:
    get:
      summary: get Access Control Policy Groups
      description: Retrieves a list of policy groups.
      operationId: getAccessControlPolicyGroups
      tags:
      - Access Control - Policy Groups
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AccessControlPolicyGroup'
    post:
      summary: Create an Access Control Policy Group
      description: Creates a policy group.
      operationId: createAccessControlPolicyGroup
      tags:
      - Access Control - Policy Groups
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateAccessControlPolicyGroupRequest'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessControlPolicyGroup'
  /access_control/policy_groups/{policy_group_id_or_taggable_name}:
    parameters:
    - $ref: '#/components/parameters/path_access_control_policy_group_id_or_taggable_name'
    get:
      summary: Get an Access Control Policy Group
      description: Retrieves information about the specified policy group.
      operationId: getAccessControlPolicyGroupById
      tags:
      - Access Control - Policy Groups
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessControlPolicyGroup'
    patch:
      summary: Update an Access Control Policy Group
      description: Updates information related to a policy group.
      operationId: updateAccessControlPolicyGroupById
      tags:
      - Access Control - Policy Groups
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateAccessControlPolicyGroupRequest'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessControlPolicyGroup'
    delete:
      summary: Delete an Access Control Policy Group
      description: Deletes a policy group.
      operationId: deleteAccessControlPolicyGroupById
      tags:
      - Access Control - Policy Groups
      responses:
        '200':
          description: OK
  /access_control/policy_groups/{policy_group_id_or_taggable_name}/policies:
    parameters:
    - $ref: '#/components/parameters/path_access_control_policy_group_id_or_taggable_name'
    get:
      summary: Get an Access Control Policy Group's Policies
      description: Retrieves the list of the specified policy group's policies.
      operationId: getAccessControlPolicyGroupPoliciesById
      tags:
      - Access Control - Policy Groups
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessControlPolicyGroupPolicies'
    patch:
      summary: Update an Access Control Policy Group's Policies
      description: Updates the policies attached to a policy group.
      operationId: updateAccessControlPolicyGroupPolicies
      tags:
      - Access Control - Policy Groups
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateAccessControlPolicyGroupPoliciesRequest'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessControlPolicyGroupPolicies'
components:
  schemas:
    AccessControlPolicyId:
      type: integer
      example: 67
    AccessControlPolicyGroupId:
      type: integer
      example: 10
    AccessControlPolicyGroupPolicies:
      title: Access Control Policy Group Policies
      type: object
      additionalProperties: false
      required:
      - policy_ids
      properties:
        policy_ids:
          description: Policy Group's Policies
          type: array
          items:
            $ref: '#/components/schemas/AccessControlPolicyId'
    AccessControlPolicyGroupTaggableName:
      type: string
      description: Policy Group's taggable name
      example: some_policy_group
    AccessControlPolicyGroup:
      title: Access Control Policy Group
      type: object
      additionalProperties: false
      required:
      - name
      properties:
        id:
          $ref: '#/components/schemas/AccessControlPolicyGroupId'
        account_id:
          $ref: '#/components/schemas/AccountId'
        name:
          description: Policy Group's name
          type: string
          example: some_policy_group
        taggable_name:
          $ref: '#/components/schemas/AccessControlPolicyGroupTaggableName'
        description:
          description: Policy Group's description
          type:
          - string
          - 'null'
          example: some_policy_group_description
        policy_count:
          description: Policy Group's policy count
          type: integer
          example: 1
        created_at:
          description: when the policy group was created
          type: string
          format: date-time
          example: '2012-01-01T12:00:00Z'
        updated_at:
          description: when policy group was updated
          type: string
          format: date-time
          example: '2012-01-01T12:00:00Z'
    CreateAccessControlPolicyGroupRequest:
      type: object
      additionalProperties: false
      required:
      - name
      properties:
        name:
          $ref: '#/components/schemas/AccessControlPolicyGroup/properties/name'
    AccountId:
      type: integer
      example: 123
    UpdateAccessControlPolicyGroupRequest:
      type: object
      additionalProperties: false
      required:
      - name
      properties:
        name:
          $ref: '#/components/schemas/AccessControlPolicyGroup/properties/name'
        description:
          $ref: '#/components/schemas/AccessControlPolicyGroup/properties/description'
    UpdateAccessControlPolicyGroupPoliciesRequest:
      type: object
      additionalProperties: false
      required:
      - policy_ids
      properties:
        policy_ids:
          $ref: '#/components/schemas/AccessControlPolicyGroupPolicies/properties/policy_ids'
  parameters:
    path_access_control_policy_group_id_or_taggable_name:
      name: policy_group_id_or_taggable_name
      in: path
      required: true
      schema:
        anyOf:
        - $ref: '#/components/schemas/AccessControlPolicyGroupId'
        - $ref: '#/components/schemas/AccessControlPolicyGroupTaggableName'
        example: 67 or some_policy_group
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: TD1