PATCH
/
annotations
/
action_secrets
/
v1
/
{secret_id}
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>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

secret_id
string
required

Body

application/json
secret_id
string
required
secret
object
required

ActionSecret is a single action type definition that gets invoked when an annotation is created.

update_mask
string
required

Response

200
application/json
OK
secret
object

ActionSecret is a single action type definition that gets invoked when an annotation is created.