PATCH
/
cms
/
entities
/
v1
/
{entity_id}
curl --request PATCH \
  --url https://api.mottostreaming.com/cms/entities/v1/{entity_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "entity_id": "<string>",
  "entity_update": {
    "project_id": "<string>",
    "type_id": "<string>",
    "name": "<string>",
    "description": "<string>",
    "thumbnail_asset_id": "<string>",
    "disabled": true,
    "fields": {},
    "visibility": "VISIBILITY_UNSPECIFIED",
    "localized_name": {},
    "localized_description": {},
    "localized_thumbnail_asset_id": {}
  },
  "update_mask": "<string>"
}'
{
  "entity": {
    "id": "<string>",
    "project_id": "<string>",
    "type_id": "<string>",
    "name": "<string>",
    "description": "<string>",
    "thumbnail_asset_id": "<string>",
    "disabled": true,
    "fields": {},
    "visibility": "VISIBILITY_UNSPECIFIED",
    "create_time": "2023-11-07T05:31:56Z",
    "localized_name": {},
    "localized_description": {},
    "localized_thumbnail_asset_id": {}
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

entity_id
string
required

Body

application/json
entity_id
string
required
entity_update
object
required

Entity represents some object, such as competition, conference, team or person.

update_mask
string

Response

200
application/json
OK
entity
object

Entity represents some object, such as competition, conference, team or person.