Update the Metadata of an IoT Application
post
/iot/api/v2/apps/{app-id}/metadata
Update the metadata of an IoT application with data provided in request body.
Request
Supported Media Types
- application/json
Path Parameters
-
app-id: string
ID of the application which metadata will be updated
Header Parameters
-
X-HTTP-Method-Override: string
To perform a partial update of the application, POST request should be orchestrated with method override set to PATCH
Response
Supported Media Types
- application/json
- application/vnd.oracle.resource+json;type=singular
200 Response
Successfully processed.
400 Response
Bad Request. The request could not be understood by the server due to malformed syntax. The client SHOULD NOT repeat the request without modifications.
401 Response
Unauthorized. The request requires user authentication.
404 Response
Not Found. The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
405 Response
Method Not Allowed. The method specified in the Request-Line is not allowed for the resource identified by the Request-URI.
406 Response
Request Not Acceptable. The resource identified by the request is only capable of generating response entities which have content characteristics not acceptable according to the accept headers sent in the request.
415 Response
Unsupported Media Type. The request entity has a media type which the server or resource does not support.