---
title: "Batch delete authorization subject attributes"
method: POST
path: "/authz/subject-attributes/batch-delete"
tags: ["authz-subject-attributes"]
---

# Batch delete authorization subject attributes

`POST /authz/subject-attributes/batch-delete`

(reserved for future use) Deletes authorization subject attributes in bulk for the caller's tenant, matched by principal\_type + principal\_id. Maximum 50000 items per request.

Required scope: \`authz:grant\`

## Request body

- BatchDeleteAuthzSubjectAttributesRequest
  - `items` AuthzSubjectAttributeKey[], required — List of subject attribute keys to delete (max 50000)
    - `principal_type` string — Principal type (defaults to "user" when omitted)
    - `principal_id` string, required — Principal identifier

## Response `200`

Successfully processed delete request

- BatchWriteAuthzSubjectAttributesResponse
  - `affected_count` integer, required — Number of rows affected by the operation

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `500` — Internal Server Error

## Changes

> 71 revisions in range; 18 not diffed.

- **2026-06-19** `af788d543a82` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/qlonolink/apis/qaip-apis/changes/authz/subject-attributes/batch-delete/post.md)

---

[API](https://skmtc.dev/qlonolink/apis/qaip-apis.md) · [All operations](https://skmtc.dev/qlonolink/apis/qaip-apis/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/qlonolink/qaip-apis/revisions/61dc40676905/schema)
