CXone Admin API bulk skill update failing with 409

Trying to bulk-update agent skill proficiencies via the CXone Admin API. Sending a PATCH request to /api/v2/admin/agents/skills with a JSON payload containing the agentId and skillProficiency array.

Getting a 409 Conflict response with the message “Resource version mismatch.” I’m not passing a version number in the payload, just the IDs. Is there a specific etag or version field I need to fetch first before updating?

You need to fetch the current version from the agent resource first. Include that version number in your PATCH payload so the API can handle the optimistic locking check.