---
title: "POST /update-assoc"
method: POST
path: "/update-assoc"
tags: ["Access Roles"]
---

# POST /update-assoc

`POST /update-assoc`

## Request

- Base URL: `https://api.akeyless.io`
- URL: `https://api.akeyless.io/update-assoc`
- Auth: none declared

## Request body

- UpdateAssoc: updateAssoc is a command that updates the sub-claims of an association between role and auth method.
  - `assoc-id` string, required: The association id to be updated
  - `case-sensitive` string: Treat sub claims as case-sensitive [true/false]
  - `json` boolean: Set output format to JSON
  - `sub-claims` object: key/val of sub claims, e.g group=admins,developers
  - `token` string: Authentication token (see `/auth` and `/configure`)
  - `uid-token` string: The universal identity token, Required only for universal_identity authentication

## Response `200`

updateAssocResponse wraps response body.

- UpdateAssocOutput

## Other responses

- `default`: errorResponse wraps any error to return it as a JSON object with one "error" field.

---

[API](https://skmtc.dev/akeyless/apis/identity-access.md) - [All operations](https://skmtc.dev/akeyless/apis/identity-access/llms.txt) - [OpenAPI document](https://skmtc.dev/akeyless/apis/identity-access/revisions/6fbc3858ec88?raw)
