contract_company:disable
corpId
id
Authorization: Bearer ********************
{ "corpId": "{{corpId}}", "id": "{{contractCompanyId}}" }
curl --location 'https://app91651.eapps.dingtalkcloud.com/open/api/v1/contract/company/disable' \ --header 'client_id: {{client_id}}' \ --header 'client_secret: {{client_secret}}' \ --header 'grant_type: client_credentials' \ --header 'scope: contract_company:disable' \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "corpId": "{{corpId}}", "id": "{{contractCompanyId}}" }'
{ "data": { "corpId": "corp_001", "contractCompanyId": "company_001", "errorMsg": null }, "success": true, "errorCode": null, "errorMsg": null, "rid": "trace-example" }