cURL
curl --request PATCH \ --url https://api.mottostreaming.com/annotations/action_secrets/v1/{secret_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "secret_id": "<string>", "secret": { "id": "<string>", "project_id": "<string>", "description": "<string>", "value": "<string>" }, "update_mask": "<string>" } '
{ "secret": { "id": "<string>", "project_id": "<string>", "description": "<string>" } }
UpdateActionSecret
Updates an existing annotation.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ActionSecret is a single action type definition that gets invoked when an annotation is created.
Show child attributes
User generated identifier for this secret. E.g. motto_jwt
motto_jwt
The project ID that this secret belongs to.
The description of the action secret. E.g. API token for a Motto account with Editor access.
API token for a Motto account with Editor access
The secret to store. This will not be returned in the response.
OK