cURL
curl --request PUT \ --url https://api.axiom.co/v2/annotations/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "datasets": [ "<string>" ], "description": "<string>", "endTime": "2023-11-07T05:31:56Z", "time": "2023-11-07T05:31:56Z", "title": "<string>", "type": "<string>", "url": "<string>" }'
{ "datasets": [ "my-dataset" ], "description": "Deploy new feature to the sales form", "endTime": "2024-02-06T11:39:28.382Z", "id": "ann_123", "time": "2024-02-06T10:39:28.382Z", "title": "Production deployment", "type": "deploy", "url": "https://example.com" }
Update annotation
The access token received from the authorization server in the OAuth 2.0 flow.
Unique ID of the annotation
Annotation
The response is of type object.
object