SmartGare
API referenceEndpoints

Retire a display point without deleting its history

**Required permission:** `siv.display-point:write`

POST/siv/v1/display-points/{id}/retirement

Required permission: siv.display-point:write

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

body*RetireDisplayPointRequest

Response Body

*/*

curl -X POST "https://example.com/siv/v1/display-points/string/retirement" \  -H "Content-Type: application/json" \  -d '{    "reason": "string"  }'
{  "code": "string",  "created_at": "2019-08-24T14:15:22Z",  "id": "string",  "kind": "string",  "location": {    "bay_code": "string",    "checkpoint_id": "string",    "station_area_code": "string"  },  "name": "string",  "profile_id": "string",  "publishing_target": {    "acknowledgement_mode": "string",    "address": "string",    "type": "string"  },  "retired_at": "2019-08-24T14:15:22Z",  "retirement_reason": "string",  "status": "string",  "updated_at": "2019-08-24T14:15:22Z"}