---
title: "Modify Credential Rbac"
method: PATCH
path: "/api/v1/integrations/credentials/{credential_id}/rbac"
tags: ["Integration Credentials"]
---

# Modify Credential Rbac

`PATCH /api/v1/integrations/credentials/{credential_id}/rbac`

## Request

- Base URL: `https://api.rebolt.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.rebolt.ai/api/v1/integrations/credentials/{credential_id}/rbac`
- Auth: HTTP bearer

## Path parameters

- `credential_id` string, uuid, required

## Request body

- ModifyRBACRequest
  - `action` string, required
  - `resource_type` string, required
  - `resource_id` string, required
  - `relation` string, required

## Response `200`

Successful Response

- CommandWasSuccessfulResponse
  - `success` boolean
  - `message` string, nullable

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-14** `6e68f3c2611b`: 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Operation history](https://skmtc.dev/rebolt/apis/rebolt-api/changes/api/v1/integrations/credentials/:credential_id/rbac/patch.md)

---

[API](https://skmtc.dev/rebolt/apis/rebolt-api.md) - [All operations](https://skmtc.dev/rebolt/apis/rebolt-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rebolt/apis/rebolt-api/revisions/ece6d79b9efa?raw)
