Block ERP link. Moves the ERP link status to Blocked. Available for Operations account with platform account management permissions. Returns the updated ERP link object.
ERP link identifier.
OK
Bad Request
Not Found
POST /public/v1/accounts/erp-links/{id}/block HTTP/1.1
Host: api.platform.softwareone.com
Content-Type: application/json
Accept: */*
Content-Length: 36
{
"note": "Blocked due to validation"
}{
"id": "ERP-0808-7934-2576",
"revision": 2,
"name": "AGCO Corporation - SoftwareONE Argentina",
"status": "Blocked",
"note": "Blocked due to validation",
"audit": {
"created": {
"at": "2024-01-21T12:27:31+00:00",
"by": {
"id": "TKN-4113-7170",
"name": "Navision Extension"
}
},
"updated": {
"at": "2024-02-02T10:10:00+00:00",
"by": {
"id": "USR-0001",
"name": "Ops User"
}
},
"blocked": {
"at": "2024-02-02T10:10:00+00:00",
"by": {
"id": "USR-0001",
"name": "Ops User"
}
}
}
}