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 |
服务主体配置文件 ID |