{ "opencollection": "1.0.0", "info": { "name": "FusionAuth Api Key API", "version": "1.66.0" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Api Key", "type": "folder" }, "items": [ { "info": { "name": "createAPIKey", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:9011/api/api-key", "body": { "type": "json", "data": "{}" } }, "docs": "Creates an API key. You can optionally specify a unique Id for the key, if not provided one will be generated. an API key can only be created with equal or lesser authority. An API key cannot create another API key unless it is granted to that API key. If an API key is locked to a tenant, it can only create API Keys for that same tenant." }, { "info": { "name": "retrieveAPIKeyWithId", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:9011/api/api-key/:keyId", "params": [ { "name": "keyId", "value": "", "type": "path", "description": "The Id of the API key to retrieve." } ] }, "docs": "Retrieves an authentication API key for the given Id." }, { "info": { "name": "createAPIKeyWithId", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:9011/api/api-key/:keyId", "params": [ { "name": "keyId", "value": "", "type": "path", "description": "The unique Id of the API key. If not provided a secure random Id will be generated." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates an API key. You can optionally specify a unique Id for the key, if not provided one will be generated. an API key can only be created with equal or lesser authority. An API key cannot create another API key unless it is granted to that API key. If an API key is locked to a tenant, it can only create API Keys for that same tenant." }, { "info": { "name": "updateAPIKeyWithId", "type": "http" }, "http": { "method": "PUT", "url": "http://localhost:9011/api/api-key/:keyId", "params": [ { "name": "keyId", "value": "", "type": "path", "description": "The Id of the API key to update." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates an API key with the given Id." }, { "info": { "name": "patchAPIKeyWithId", "type": "http" }, "http": { "method": "PATCH", "url": "http://localhost:9011/api/api-key/:keyId", "params": [ { "name": "keyId", "value": "", "type": "path", "description": "The Id of the API key. If not provided a secure random api key will be generated." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates an API key with the given Id." }, { "info": { "name": "deleteAPIKeyWithId", "type": "http" }, "http": { "method": "DELETE", "url": "http://localhost:9011/api/api-key/:keyId", "params": [ { "name": "keyId", "value": "", "type": "path", "description": "The Id of the authentication API key to delete." } ] }, "docs": "Deletes the API key for the given Id." } ] } ], "bundled": true }