Update shadow definition
PUT /api/v1/orgs/:org_id/projects/:project_id/shadow-definitions/:shadow_definition_id
Update a shadow definition for a project in the ORG.
Path Parameters
- project_id string required
Project ID
- shadow_definition_id string required
Shadow definition ID
- application/x-www-form-urlencoded
Request Body required
- name string required
Shadow definition name
- protoFile binary required
Proto file
Responses
- 200
- 400
Success" {"ok":1,"data":{"shadowDefinitionId":"Shadow definition ID"}}
- application/json
- Schema
- Example (from schema)
Schema
{}
Bad Request" {"ok":0,"message":"Failed to register shadow definition","error":"Error message"}
- application/json
- Schema
- Example (from schema)
Schema
{}
Loading...