---
title: "Remove a billing account permission"
method: POST
path: "/v1/billing-accounts/{id}:remove-permission"
tags: ["Billing"]
---

# Remove a billing account permission

`POST /v1/billing-accounts/{id}:remove-permission`

## Request

- Base URL: `https://rest.compute.cudo.org`
- URL: `https://rest.compute.cudo.org/v1/billing-accounts/{id}:remove-permission`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/cudocompute/apis/cudo-compute-service/docs/v1/billing-accounts/:id:remove-permission/post.ts> (a function with typed inputs; its response is checked against the schema)

Revokes a user's permission to access a billing account.

## Path parameters

- `id` string, required

## Request body

- UserPermission
  - `permissionRole` 'UNKNOWN' | 'OWNER' | 'VIEWER' | 'EDITOR', required
  - `role` string
  - `userEmail` string
  - `userId` string
  - `userPicture` string

## Response `200`

A successful response.

- object

## Other responses

- `default`: An unexpected error response.

---

[API](https://skmtc.dev/cudocompute/apis/cudo-compute-service.md) - [All operations](https://skmtc.dev/cudocompute/apis/cudo-compute-service/llms.txt) - [OpenAPI document](https://skmtc.dev/cudocompute/apis/cudo-compute-service/revisions/93dc40dababc?raw)
