PUT /accounts/{account_id}/shares/{share_id}/recipients
Replaces the full recipient list for an account-targeted share. The server computes the diff between the current and desired recipients: new accounts are added, accounts no longer in the list are marked for disassociation, and unchanged accounts are left as-is.
Returns an error if the share targets an organization
(target_type=organization); org-targeted shares derive their
recipients dynamically from org membership and cannot be modified
through this endpoint.
Servers
- https://api.cloudflare.com/client/v4
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
share_id |
String | Yes | |
account_id |
String | Yes |
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
| Name | Type | Required | Description |
|---|---|---|---|
[] |
Array | Yes | |
[].recipient_account_id |
String | No |
The account that will receive the share. |
[].account_id |
String | No |
Deprecated alias for |
[].organization_id |
String | No |
Organization identifier. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.