{"templateId":"markdown","versions":[{"version":"shipstation-v2","label":"ShipStation V2 API","link":"/apis/shipstation-v2/docs/partners/disable-api-key","default":true,"active":false,"folderId":"58c9a61d"},{"version":"shipengine","label":"ShipStation API (formerly ShipEngine)","link":"/apis/shipengine/docs/partners/disable-api-key","default":false,"active":true,"folderId":"58c9a61d"},{"version":"shipstation-v1","label":"ShipStation V1 API","link":"/apis/shipstation-v1/docs/partners/disable-api-key","default":false,"active":false,"folderId":"58c9a61d"}],"sharedDataIds":{"sidebar":"sidebar-apis/@shipengine/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Disable a ShipStation API Key","keywords":"shipping, labels, shipstation, documentation, api","siteUrl":"https://docs.shipstation.com","lang":"en-US","llmstxt":{"hide":false,"title":"ShipStation API LLM Docs","description":"Find links and references to all markdown documentation for use with LLMs","excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"disable-a-shipstation-api-key","__idx":0},"children":["Disable a ShipStation API Key"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Each ShipStation API account comes with its own API key. However, if it ever becomes compromised you will need to disable it via the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/v1/partners/accounts/:account_id/api_keys/:key_id"]}," endpoint."]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["WARNING:"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"disabling-an-api-key-is-permanent","__idx":1},"children":["Disabling an API key is permanent!"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Once an API key for an account has been \"disabled\", that key is no longer recoverable. Use caution when deleting API keys for an account."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"example-request","__idx":2},"children":["Example Request"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"DELETE /v1/partners/accounts/242822/api_keys/4094 HTTP/1.1\nHost: api.shipengine.com\nAPI-Key: __PARTNER_API_KEY_HERE__\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A successful response is empty, with a status of 204."]}]},"headings":[{"value":"Disable a ShipStation API Key","id":"disable-a-shipstation-api-key","depth":1},{"value":"Disabling an API key is permanent!","id":"disabling-an-api-key-is-permanent","depth":3},{"value":"Example Request","id":"example-request","depth":2}],"frontmatter":{"seo":{"title":"Disable a ShipStation API Key"}},"lastModified":"2026-04-08T10:47:45.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/apis/shipengine/docs/partners/disable-api-key","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}