Profiles - Update Profile
更新指定的服务主体配置文件名称。
更新指定的配置文件名称(如果存在并且属于服务主体调用方)。
局限性
只能由服务主体调用。
PUT https://api.powerbi.com/v1.0/myorg/profiles/{profileId}
URI 参数
| 名称 | 在 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
profile
|
path | True |
string (uuid) |
服务主体配置文件 ID |
请求正文
| 名称 | 类型 | 说明 |
|---|---|---|
| displayName |
string |
服务主体配置文件名称 |
响应
| 名称 | 类型 | 说明 |
|---|---|---|
| 200 OK |
还行 |
示例
Updates a service principal profile
示例请求
PUT https://api.powerbi.com/v1.0/myorg/profiles/b3ded933-57b7-21f4-b072-ed4c1f9d5824
{
"displayName": "My updated profile"
}
示例响应
{
"id": "b3ded933-57b7-21f4-b072-ed4c1f9d5824",
"displayName": "My updated profile"
}
定义
| 名称 | 说明 |
|---|---|
|
Create |
Power BI 服务主体配置文件创建或更新请求 |
|
Service |
Power BI 服务主体配置文件。 仅适用于 Power BI Embedded 多租户解决方案。 |
CreateOrUpdateProfileRequest
Power BI 服务主体配置文件创建或更新请求
| 名称 | 类型 | 说明 |
|---|---|---|
| displayName |
string |
服务主体配置文件名称 |
ServicePrincipalProfile
Power BI 服务主体配置文件。 仅适用于 Power BI Embedded 多租户解决方案。
| 名称 | 类型 | 说明 |
|---|---|---|
| displayName |
string |
服务主体配置文件名称 |
| id |
string (uuid) |
服务主体配置文件 ID |