This endpoint allows user update the callback HTTPS address of an existing diagnostics subscription.
thingspace_oauth VZ-M2M-Token In: header
M2M Session Token (How to generate an M2M session token?)
In: header
*/*
Callback URL registration request.
TypeScript Definitions
Use the request body type in TypeScript.
Specifies the callback service that is being subscribed to and the URL where the listening service is running.
application/json
application/json
curl -X POST "https://example.com/callbacks" \ -H "Content-Type: */*" \ -d '<accountName>TestQAAccount</accountName> <serviceName>Diagnostics</serviceName> <endpoint>https://yourwebsite.com</endpoint> <httpHeaders/>'{ "accountName": "TestQAAccount", "serviceName": "string", "endpoint": "https://yourwebsite.com", "httpHeaders": {}, "createdOn": "2019-09-07T23:57:53.292Z"}{ "errorCode": "error code string", "errorMessage": "error message string"}The name of the billing account for which callback messages will be sent. Format: "##########-#####".
The name of the callback service, which identifies the type and format of messages that will be sent to the registered URL.
The URL for your web server.
Your HTTP headers.