Sorry, no results found for "".
Returns a resource object of type editing_session.
1DELETE https://site-api.datocms.com/editing-sessions/:editing_session_id HTTP/1.12Authorization: Bearer YOUR-API-TOKEN3Accept: application/json4X-Api-Version: 3
1curl -g 'https://site-api.datocms.com/editing-sessions/:editing_session_id' \2 -X DELETE \3 -H "Authorization: Bearer YOUR-API-TOKEN" \4 -H "Accept: application/json" \5 -H "X-Api-Version: 3"
1await fetch(2 "https://site-api.datocms.com/editing-sessions/:editing_session_id",3 {4 method: "DELETE",5 headers: {6 Authorization: "Bearer YOUR-API-TOKEN",7 Accept: "application/json",8 "X-Api-Version": "3",9 },10 },11);
1HTTP/1.1 200 OK2Content-Type: application/json3Cache-Control: cache-control: max-age=0, private, must-revalidate4X-RateLimit-Limit: 305X-RateLimit-Remaining: 286 7{8 "data": {9 "type": "editing_session",10 "id": "312",11 "attributes": {12 "last_activity_at": "2019-03-30T09:29:14.872Z",13 "locked_at": "2019-03-30T09:29:14.872Z"14 },15 "relationships": {16 "editor": {17 "data": {18 "type": "account",19 "id": "312"20 }21 },22 "active_item": {23 "data": {24 "type": "item",25 "id": "hWl-mnkWRYmMCSTq4z_piQ"26 }27 },28 "active_item_type": {29 "data": {30 "type": "item_type",31 "id": "DxMaW10UQiCmZcuuA-IkkA"32 }33 }34 }35 }36}