{"base_path":null,"components":{"parameters":{"ResourceShareInvitationId":{"description":"资源共享邀请的ID。","in":"path","name":"resource_share_invitation_id","required":true,"schema":{"maxLength":36,"minLength":0,"pattern":"^[\\w-]+$","type":"string"}},"SecurityTokenHeader":{"description":"如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。","in":"header","name":"X-Security-Token","required":false,"schema":{"readOnly":true,"type":"string"}}},"schemas":{"ResourceShareInvitation":{"description":"资源共享邀请的详细信息。","properties":{"created_at":{"description":"创建邀请的时间。","format":"date-time","type":"string"},"receiver_account_id":{"description":"接收资源共享邀请的账号ID。","maxLength":36,"minLength":0,"type":"string"},"resource_share_id":{"description":"资源共享实例的ID。","maxLength":36,"minLength":0,"type":"string"},"resource_share_invitation_id":{"description":"资源共享邀请的ID。","maxLength":36,"minLength":0,"type":"string"},"resource_share_name":{"description":"资源共享实例的名称。","maxLength":64,"minLength":0,"type":"string"},"sender_account_id":{"description":"发送资源共享邀请的账号ID。","maxLength":36,"minLength":0,"type":"string"},"status":{"description":"资源共享邀请的当前状态。","maxLength":64,"minLength":0,"type":"string"},"updated_at":{"description":"最后一次更新邀请的时间。","format":"date-time","type":"string"}},"type":"object"},"ResourceShareInvitationResp":{"properties":{"resource_share_invitation":{"$ref":"#/components/schemas/ResourceShareInvitation"}},"type":"object"}}},"consumes":"","definitions":null,"description":null,"group_id":"a4962198b5cd4b19998df4c381657138","host":"ram.myhuaweicloud.com","id":"d056b35aaf1c43efb4c87cc1c591a0f4","info_version":"v1","method":"post","name":"RejectResourceShareInvitation","parameters":null,"paths":{"/v1/resource-share-invitations/{resource_share_invitation_id}/reject":{"post":{"description":"拒绝来自其他账号的资源共享邀请。","operationId":"RejectResourceShareInvitation","parameters":[{"$ref":"#/components/parameters/SecurityTokenHeader"},{"$ref":"#/components/parameters/ResourceShareInvitationId"}],"responses":{"200":{"content":{"application/json":{"example":{"resource_share_invitation":{"created_at":"2022-08-22T12:29:00.460Z","receiver_account_id":"string","resource_share_id":"string","resource_share_invitation_id":"string","resource_share_name":"string","sender_account_id":"string","status":"string","updated_at":"2022-08-22T12:29:00.460Z"}},"schema":{"$ref":"#/components/schemas/ResourceShareInvitationResp"}}},"description":"请求成功。"}},"security":[{"AccessKeyAuth":[]}],"summary":"拒绝共享邀请","tags":["ResourceShareInvitation"],"x-api-type":"open-api","x-is-registered":"Y","x-request-examples-description-1":"拒绝来自其他账号的资源共享邀请。","x-request-examples-url-1":"POST https://{endpoint}/v1/resource-share-invitations/{resource_share_invitation_id}/reject","x-support-sdk":"Y"}}},"product_short":"RAM","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"拒绝共享邀请","tags":"资源共享邀请","uri":null,"version":"3.0.3"}