Searching:
0 results foundSchemaDefinitions/Patch or SchemaDefinitions/put
PATCH /odata/SchemaDefinitions/Patch/userId
Description
To update an existing Axonize Schema Definition.
Request ‒ SchemaDefinitions/Patch or Put
Property | Type | Description | Mandatory |
schema definition id | String | This is the unique identifier automatically assigned by Axonize when a Schema Definition is created. This schema definition ID is returned in the response of the Devices/Post. |
Example JSON SchemaDefinitions/Patch Request
The following is an example of changing a SchemaDefinition’s name to test.
curl -X PATCH \
https://api.axonize.com/odata/schemaDefinitions/592139084d27e710e80f1234 \
-H ‘Authorization: Token’ \
-H ‘Content-Type: application/json’ \
-H ‘appId: 801A048A-9F23-429F-BF0D-B6D35B22771E’ \
-d ‘{
“name”:”test”
}
‘
Example JSON Devices/Patch/Put Response
Status 204 – No Content – The server has successfully fulfilled the request.