PATCH
/
v1
/
components
/
{component_id}
curl --request PATCH \
  --url https://ctl.prod.nuon.co/v1/components/{component_id} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "dependencies": [
    "<string>"
  ],
  "name": "<string>"
}'
{
  "app_id": "<string>",
  "config_versions": 123,
  "created_at": "<string>",
  "created_by": {
    "created_at": "<string>",
    "created_by_id": "<string>",
    "email": "<string>",
    "expires_at": "<string>",
    "id": "<string>",
    "issued_at": "<string>",
    "issuer": "<string>",
    "subject": "<string>",
    "token_type": "auth0",
    "updated_at": "<string>"
  },
  "created_by_id": "<string>",
  "dependencies": [
    "<string>"
  ],
  "id": "<string>",
  "name": "<string>",
  "status": "<string>",
  "status_description": "<string>",
  "updated_at": "<string>"
}

Authorizations

Authorization
string
headerrequired

Type "Bearer" followed by a space and token.

Path Parameters

component_id
string
required

component ID

Body

application/json
dependencies
string[]
name
string
required

Response

200 - application/json
app_id
string
config_versions
integer
created_at
string
created_by
object
created_by_id
string
dependencies
string[]
id
string
name
string
status
string
status_description
string
updated_at
string