Updated on 2026-08-10 GMT+08:00

Updating the Share Member Status

Function

This API is used to update the status of a backup share member.

Debugging

You can debug this API through automatic authentication in API Explorer or use the SDK sample code generated by API Explorer.

Authorization Information

Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions.

  • If you are using role/policy-based authorization, see Permissions Policies and Supported Actions for details on the required permissions.
  • If you are using identity policy-based authorization, no identity policy-based permission required for calling this API.

URI

PUT /v3/{project_id}/backups/{backup_id}/members/{member_id}

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

backup_id

Yes

String

Definition

Backup ID. For details about how to obtain the backup ID, see Querying All Backups.

Constraints

N/A

Range

N/A

Default Value

N/A

member_id

Yes

String

Definition

Member ID, which is the same as the project ID. For details about how to obtain the project ID, see Obtaining a Project ID.

Constraints

N/A

Range

N/A

Default Value

N/A

project_id

Yes

String

Definition

Project ID. For details about how to obtain the project ID, see Obtaining a Project ID.

Constraints

N/A

Range

N/A

Default Value

N/A

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

Definition

User token.

You can obtain it by calling the IAM API for obtaining a user token. The value of X-Subject-Token in the response header is the user token.

Constraints

N/A

Range

N/A

Default Value

N/A

Table 3 Request body parameters

Parameter

Mandatory

Type

Description

status

Yes

String

Definition

Backup sharing status.

Constraints

N/A

Range

  • accepted

  • pending: being processed

  • rejected

Default Value

N/A

vault_id

No

String

Definition

Vault to which the shared backup will be stored.

Constraints

When the status of a backup sharing member is updated, if the backup is accepted, vault_id must be passed. If the backup is rejected, vault_id is not required.

Range

32 hexadecimal digits (UUID format)

Default Value

N/A

Response Parameters

Status code: 200

Table 4 Response body parameters

Parameter

Type

Description

member

Member object

Response parameters of querying the details of a backup share member

Table 5 Member

Parameter

Type

Description

status

String

Definition

Sharing status.

Range

  • pending: pending processing

  • accepted

  • rejected

created_at

String

Backup sharing time, for example, 2020-02-05T10:38:34.209782

updated_at

String

Update time, for example, 2020-02-05T10:38:34.209782

backup_id

String

Definition

Backup ID.

Range

N/A

image_id

String

Definition

ID of the image created from the accepted shared backup.

Range

N/A

dest_project_id

String

Definition

ID of the project that accepts the shared backup.

Range

N/A

vault_id

String

Definition

ID of the vault where the accepted shared backup is stored.

Range

N/A

id

String

Definition

Sharing record ID.

Range

N/A

Example Requests

PUT https://{endpoint}/v3/f841e01fd2b14e7fa41b6ae7aa6b0594/backups/a5200268-74a5-4806-acc6-95793ab0228b/members/f841e01fd2b14e7fa41b6ae7aa6b0594

{
  "status" : "accepted",
  "vault_id" : "4b27c05b-8ad7-48c6-a886-526666c035f0"
}

Example Responses

Status code: 200

OK

{
  "member" : {
    "status" : "accepted",
    "backup_id" : "17c9acd8-3af3-4401-bab9-ff1cfac15561",
    "vault_id" : "4b27c05b-8ad7-48c6-a886-526666c035f0",
    "dest_project_id" : "0761021b8900d2622f38c0115db0b331",
    "created_at" : "2020-02-24T09:36:00.479+00:00",
    "id" : "824a90b3-c562-448b-ab04-60ea4a97cf60"
  }
}

Status Codes

Status Code

Description

200

OK

Error Codes

See Error Codes.