---
title: "Update access to account"
method: PUT
path: "/v1/accounts/{subAccountId}/access"
tags: ["Accounts"]
---

# Update access to account

`PUT /v1/accounts/{subAccountId}/access`

## Request

- Base URL: `https://api.nomba.com`
- URL: `https://api.nomba.com/v1/accounts/{subAccountId}/access`
- Auth: HTTP bearer

You can use this endpoint to update the access of an api client within an account.

## Path parameters

- `subAccountId` string, uuid, required

## Headers

- `accountId` string, uuid, required

## Request body

- AccountAccessRequest: A structure representing an account access request
  - `grantType` 'allow' | 'deny', required: The action to perform on the access
  - `clientId` string, required: The client to grant/deny access to the account
  - `role` 'ACCOUNT_WRITER' | 'ACCOUNT_READER', required: The role to assume within the account

## Response `200`

OK - your request was successful.

- object
  - `code` string, required: Response Code
  - `description` string, required: Response description
  - `data` GenericObjectResult, required: A structure representing a bank account lookup result
    - `message` string, required: Action has been performed successfully
    - `data` object: The data object attributed to the action that has been performed

## Other responses

- `400`: The request body sent by merchant did not pass the validation checks
- `401`: The access_token provided to access the resource is missing or invalid.
- `403`: The client does not have the permissions to access this resource
- `404`: The record that the client is trying to access does not exist.
- `429`: The client has maxed out the number of calls within a time period on this resource.
- `500`: Downstream system error.

## Changes

- **2026-11-03** `278a25dccfe5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/nomba/apis/vendor-api/changes/v1/accounts/:subAccountId/access/put.md)

---

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