PATCH
/
iam
/
projects
/
v1
/
{project_id}
curl --request PATCH \
  --url https://api.mottostreaming.com/iam/projects/v1/{project_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "<string>",
  "org_id": "<string>",
  "name": "<string>",
  "content_delivery_settings": {
    "public_keys": [
      "<string>"
    ],
    "embed_domains": [
      "<string>"
    ],
    "content_visibility": "VISIBILITY_UNSPECIFIED"
  }
}'
{
  "project": {
    "id": "<string>",
    "org_id": "<string>",
    "name": "<string>",
    "disabled": true,
    "content_delivery_settings": {
      "public_keys": [
        "<string>"
      ],
      "embed_domains": [
        "<string>"
      ],
      "content_visibility": "VISIBILITY_UNSPECIFIED"
    }
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

project_id
string
required

Query Parameters

update_mask
string

Body

application/json
id
string
required

Human readable, URL-compatible short identifier, like "motto" or "rtt-show". Must be unique.

org_id
string
required

Organization ID this project belongs to.

name
string

Name of the project, e.g. "Motto".

content_delivery_settings
object

Settings relevant for the content delivery API

Response

200
application/json
OK
project
object