To update the external serices secret, you can use PUT /environments/{{envID}}/externalServices/{{externalServiceID}}/secrets to modify the name and value attributes of the specified external service’s secret.