Update a destination

Update an existing logs destination. Include the appropriate destinationId as a path parameter. This operation can only be accessed by account users with unrestricted access. Talk to your local account administrator about access management.

🚧

By using this service, you acknowledge your obligations under the United States Department of Justice Bulk Sensitive Data Transaction Rule ("BSD Rule"). You also agree that you will not use the service to transfer, onward transfer, or otherwise make accessible any United States government-related data or bulk United States sensitive personal data to countries of concern or a covered person, as each of those terms and concepts are defined in the BSD Rule. Anyone using the service is solely responsible for compliance with the BSD Rule.

Permissions and scopes

To call this operation, you need permissions, based on the model you're using:

  • OAuth scopes. Your user needs these scopes assigned. Learn more.

    • Scopes: monitor:read_write

CLI

linode-cli streams destination-update 456  \
--label New destination for Managed Database logs \
--details.host secondary-bucket-1.us-east-12.linodeobjects.com \
--details.bucket_name secondary-bucket \
--details.region us-east \
--details.path audit-logs \
--details.access_key_id 456

Learn more

Path Params
string
enum
required

Enum Call either the v4 URL, or v4beta for operations still in Beta.

Allowed:
integer
required

The unique identifier assigned to the logs destination. Run the List destinations operation and store the id for the applicable one.

Body Params
details
string

The name of the destination object. Used for display purposes.

string
enum

The type of destination for log data sync, either akamai_object_storage if Object Storage is the destination, or custom_https for a unique URL.

Allowed:
Responses

Language
Credentials
LoadingLoading…
Response
Choose an example:
application/json