cURL
curl --request PUT \ --url https://{tenantId}.api.nestmed.com/api/v1/visits/{visitId}/elements/{slug} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{}'
{ "slug": "<string>", "data": {}, "status": "draft" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The body is of type object.
object
Element saved successfully.
draft
completed
reviewed
approved