{"title":"(automation API) Create deactivate","url":"https://jonas-paprotka.de/docs/dev-itpro/administration/api/dynamics_deactivate_create/","by":"JOP-AL","license":"Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/administration/api/dynamics_deactivate_create, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/administration/api/dynamics_deactivate_create","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","description":"Creates a deactivate object in Dynamics 365 Business Central.","date":"2025-08-22","meta":{"topic":"reference"},"outline":[{"level":1,"title":"(automation API) Create deactivate","slug":"automation-api-create-deactivate","at":0,"chars":1301},{"level":2,"title":"HTTP request","slug":"http-request","at":99,"chars":345},{"level":2,"title":"Request headers","slug":"request-headers","at":444,"chars":102},{"level":2,"title":"Request body","slug":"request-body","at":546,"chars":90},{"level":2,"title":"Response","slug":"response","at":636,"chars":191},{"level":2,"title":"Example","slug":"example","at":827,"chars":266},{"level":2,"title":"Related information","slug":"related-information","at":1093,"chars":208}],"text":"# (automation API) Create deactivate\nCreates a deactivate object in Dynamics 365 Business Central.\n## HTTP request\nReplace the URL prefix for Business Central depending on environment following the guideline<../../api-reference/v2.0/enabling-apis-for-dynamics-nav>.\n```\nPOST https://api.businesscentral.dynamics.com/v2.0/{environment name}/api/microsoft/automation/v2.0/companies({companyId})/features({featureId})/Microsoft.NAV.deactivate\n```\n## Request headers\nHeader|Value\nAuthorization|Bearer {token}. Required.\nContent-Type|application/json\n## Request body\nIn the request body, supply a JSON representation of a deactivate object.\n## Response\nIf successful, the request typically returns a \"200\" response. Use the GET features<../resources/dynamics_featuremanagement> request to verify that the feature state has changed.\n## Example\nRequest\nHere is an example of the request.\n```json\nPOST https://api.businesscentral.dynamics.com/v2.0/{environment name}/api/microsoft/automation/v2.0/companies({companyId})/features({featureId})/Microsoft.NAV.deactivate\nAuthorization: Bearer {token}\n```\n## Related information\nTips for working with the APIs<../../developer/devenv-connect-apps-tips>\nFeature management<../resources/dynamics_featuremanagement>\nDeactivate feature<../resources/dynamics_deactivate>"}