Admin - Patch Capacity As Admin

Changes specific capacity information. Currently, this API call only supports changing the capacity's encryption key.

Permissions

The user must be a Fabric administrator.

Required Scope

Tenant.Read.All or Tenant.ReadWrite.All

Limitations

Maximum 200 requests per hour.

PATCH https://api.powerbi.com/v1.0/myorg/admin/capacities/{capacityId}

URI Parameters

Name In Required Type Description
capacityId
path True

string

uuid

The capacity ID

Request Body

Name Type Description
tenantKeyId

string

The ID of the encryption key

Responses

Name Type Description
200 OK

OK

Examples

Example

Sample request

PATCH https://api.powerbi.com/v1.0/myorg/admin/capacities/0f084df7-c13d-451b-af5f-ed0c466403b2
{
  "tenantKeyId": "82d9a37a-2b45-4221-b012-cb109b8e30c7"
}

Sample response

Definitions

CapacityPatchRequest

A patch capacity request

Name Type Description
tenantKeyId

string

The ID of the encryption key