Atlas Search index update with Atlas Administration API 2.0

Hi there

I’m using Atlas administration API v2 to do some operations on Atlas Search indexes.
So far, I can get all indexes from a collection and create a new index without any issue.

However, I still can’t figure out how to update an index, either with its name or its id: it always returns a 404 error.

Note: variables in curly braces below are actually replaced by values, i just don’t want to display the real ones

  1. by index name:
    URL (PATCH request): https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}
    Response: Cannot find resource Search index {databaseName}.{collectionName}.{indexName}

  2. by id:
    URL (PATCH request) : https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}
    Response: Cannot find resource Search index with id {indexId}

but this index actually exists, I can get it when I do a GET request on https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/ without any issue, like I wrote above.

Am I missing something ?

Thanks in advance and have a nice day