{ "opencollection": "1.0.0", "info": { "name": "BookingEngineApi Account notes Resource access tokens API", "version": "v1" }, "items": [ { "info": { "name": "Resource access tokens", "type": "folder" }, "items": [ { "info": { "name": "Get all resource access tokens", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/connector/v1/resourceAccessTokens/getAll", "body": { "type": "json", "data": "{}" } }, "docs": "Returns all resource access tokens based on resource access token identifiers, reservations or interval. One of them must be specified in the request. \nNote this operation uses [Pagination](https://mews-systems.gitbook.io/connector-api/guidelines/pagination/) and supports [Portfolio Access Tokens](https://mews-systems.gitbook.io/connector-api/concepts/multi-property)." }, { "info": { "name": "Add resource access tokens", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/connector/v1/resourceAccessTokens/add", "body": { "type": "json", "data": "{}" } }, "docs": "Adds new resource access tokens with the specified data." }, { "info": { "name": "Update resource access tokens", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/connector/v1/resourceAccessTokens/update", "body": { "type": "json", "data": "{}" } }, "docs": "Updates the [Resource access token](https://mews-systems.gitbook.io/connector-api/operations/#resource-access-token) validity interval and [permissions](https://mews-systems.gitbook.io/connector-api/operations/#resource-access-token-permission-parameter) that it grants." }, { "info": { "name": "Delete resource access tokens", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/connector/v1/resourceAccessTokens/delete", "body": { "type": "json", "data": "{}" } }, "docs": "Delete specified resource access tokens." } ] } ], "bundled": true }