拒绝共享邀请 - RejectResourceShareInvitation
功能介绍
拒绝来自其他账号的资源共享邀请。
请求参数
| 参数 | 是否必选 | 参数类型 | 描述 |
|---|---|---|---|
| X-Security-Token | 否 | String | 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。 |
响应参数
状态码:200
| 参数 | 参数类型 | 描述 |
|---|---|---|
| resource_share_invitation | ResourceShareInvitation object | 资源共享邀请的详细信息。 |
| 参数 | 参数类型 | 描述 |
|---|---|---|
| receiver_account_id | String | 接收资源共享邀请的账号ID。 |
| resource_share_id | String | 资源共享实例的ID。 |
| resource_share_name | String | 资源共享实例的名称。 |
| resource_share_invitation_id | String | 资源共享邀请的ID。 |
| sender_account_id | String | 发送资源共享邀请的账号ID。 |
| status | String | 资源共享邀请的当前状态。 |
| created_at | String | 创建邀请的时间。 |
| updated_at | String | 最后一次更新邀请的时间。 |
请求示例
拒绝来自其他账号的资源共享邀请。
POST /v1/resource-share-invitations/{resource_share_invitation_id}/reject 响应示例
状态码:200
请求成功。
{
"resource_share_invitation" : {
"receiver_account_id" : "string",
"resource_share_id" : "string",
"resource_share_name" : "string",
"resource_share_invitation_id" : "string",
"sender_account_id" : "string",
"status" : "string",
"created_at" : "2022-08-22T12:29:00.460Z",
"updated_at" : "2022-08-22T12:29:00.460Z"
}
} 状态码
| 状态码 | 描述 |
|---|---|
| 200 | 请求成功。 |
错误码
请参见错误码。