I am using this graph api DELETE https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/tables/{id|name}/rows/{index}, but it says The API you are trying to use could not be found. It may be available in a newer version of Excel. Any idea why?

Aniket Tripathi 0 Reputation points
2025-01-21T19:03:10.9333333+00:00
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,310 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Akhil Nasalwai - MSFT 1,050 Reputation points Microsoft External Staff
    2025-01-22T00:37:21.2333333+00:00

    Hello Aniket Tripathi,

    Thank you for contacting Microsoft!

    For the error message, The API you are trying to use could not be found, please re-check the Graph API Endpoint as per the documentation mentioned below:

    Link: Graph API to delete a table row

    User's image

    I could see the version being used here is not as per the documentation. The version should be V1.0.

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.


  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  3. CarlZhao-MSFT 45,841 Reputation points
    2025-01-22T02:19:37.55+00:00

    Hi @Aniket Tripathi

    Like @Akhil said, it should be v1.0 instead of v.0.

    Also, v.0 is not a valid version, and it will not be recognized.

    DELETE https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/tables/{id|name}/rows/{index}
    

    Hope this helps.

    If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.