{ "opencollection": "1.0.0", "info": { "name": "APIs.io Engineering Platform Amazon API Gateway 2014 11 13 Access Service Tokens API", "version": "1.0.0" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Access Service Tokens", "type": "folder" }, "items": [ { "info": { "name": "APIs.io Engineering Platform List service tokens", "type": "http" }, "http": { "method": "GET", "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/access/service_tokens", "params": [ { "name": "account_id", "value": "", "type": "path" } ] }, "docs": "Lists all service tokens." }, { "info": { "name": "APIs.io Engineering Platform Create a service token", "type": "http" }, "http": { "method": "POST", "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/access/service_tokens", "params": [ { "name": "account_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Generates a new service token. **Note:** This is the only time you can get the Client Secret. If you lose the Client Secret, you will have to rotate the Client Secret or create a new service token." }, { "info": { "name": "APIs.io Engineering Platform Get a service token", "type": "http" }, "http": { "method": "GET", "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/access/service_tokens/:service_token_id", "params": [ { "name": "service_token_id", "value": "", "type": "path" }, { "name": "account_id", "value": "", "type": "path" } ] }, "docs": "Fetches a single service token." }, { "info": { "name": "APIs.io Engineering Platform Update a service token", "type": "http" }, "http": { "method": "PUT", "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/access/service_tokens/:service_token_id", "params": [ { "name": "service_token_id", "value": "", "type": "path" }, { "name": "account_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates a configured service token." }, { "info": { "name": "APIs.io Engineering Platform Delete a service token", "type": "http" }, "http": { "method": "DELETE", "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/access/service_tokens/:service_token_id", "params": [ { "name": "service_token_id", "value": "", "type": "path" }, { "name": "account_id", "value": "", "type": "path" } ] }, "docs": "Deletes a service token." }, { "info": { "name": "APIs.io Engineering Platform Refresh a service token", "type": "http" }, "http": { "method": "POST", "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/access/service_tokens/:service_token_id/refresh", "params": [ { "name": "service_token_id", "value": "", "type": "path" }, { "name": "account_id", "value": "", "type": "path" } ] }, "docs": "Refreshes the expiration of a service token." }, { "info": { "name": "APIs.io Engineering Platform Rotate a service token", "type": "http" }, "http": { "method": "POST", "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/access/service_tokens/:service_token_id/rotate", "params": [ { "name": "service_token_id", "value": "", "type": "path" }, { "name": "account_id", "value": "", "type": "path" } ] }, "docs": "Generates a new Client Secret for a service token and revokes the old one." } ] } ], "bundled": true }