Update forwarding endpoint
Updates a forwarding endpoint identified by ref.slug. The request body must include the full spec. The endpoint’s protocol type cannot change after creation. Use credentialAction to preserve, replace, or clear stored credentials. You can’t clear credentials for AWS S3 destinations.
Authorizations
Body
Controls how the endpoint's stored credentials are handled during the update. CREDENTIAL_ACTION_PRESERVE keeps the existing credentials unchanged. CREDENTIAL_ACTION_REPLACE replaces them with the credentials supplied in this request. Credentials must be provided when this action is used. CREDENTIAL_ACTION_CLEAR removes the stored credentials, but it isn't supported for AWS S3 destinations. The underlying enum also declares CREDENTIAL_ACTION_UNSPECIFIED (its zero value); omit the field rather than sending it.
CREDENTIAL_ACTION_PRESERVE, CREDENTIAL_ACTION_REPLACE, CREDENTIAL_ACTION_CLEAR