We are testing the Machine Account Update API, and it is working as expected when updating fields such as Environment, SubType, and enabling/disabling accounts.
However, when we try to add a new entitlement to a machine account, the API returns a 400 Bad Request error. Interestingly, if we use the same request body with an existing entitlement already assigned to the account, the API returns a 200 Success response.
We have included a sample request body below for reference.
Has anyone encountered a similar issue, or is there any additional requirement for adding new entitlements through this API? As this is a newly introduced feature, any guidance or insights would be highly appreciated.