更新时间:2024-04-29 GMT+08:00
分享

解绑用户和组

功能介绍

根据关联关系ID解绑用户和用户组,也就是将用户移出用户组。

URI

DELETE /v1/identity-stores/{identity_store_id}/group-memberships/{membership_id}

表1 路径参数

参数

是否必选

参数类型

描述

identity_store_id

String

身份源的全局唯一标识符(ID)。

最小长度:12

最大长度:12

membership_id

String

身份源中用户和组关联关系的全局唯一标识符(ID)。

最小长度:1

最大长度:64

请求参数

表2 请求Header参数

参数

是否必选

参数类型

描述

X-Security-Token

String

如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。

最大长度:2048

响应参数

状态码: 400

表3 响应Body参数

参数

参数类型

描述

error_code

String

错误码。

error_msg

String

错误信息。

request_id

String

请求ID。

encoded_authorization_message

String

鉴权信息。

状态码: 403

表4 响应Body参数

参数

参数类型

描述

error_code

String

错误码。

error_msg

String

错误信息。

request_id

String

请求ID。

encoded_authorization_message

String

鉴权信息。

请求示例

根据关联关系ID解绑用户和用户组,也就是将用户移出用户组。

DELETE https://{hostname}/v1/identity-stores/{identity_store_id}/group-memberships/{membership_id}

响应示例

状态码

请参见状态码

错误码

请参见错误码

分享:

    相关文档

    相关产品