How do I...?

DELETE /openapi/views/123/records/all returns 401 unauthorized

Hi,

I want to delete all records by using the API /openapi/views/123/records/all. It returns 401 unauthorized error.

1 vote
Vote
Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
You have left! (?) (thinking…)
Kapila Perera shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

2 comments

Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
Submitting...
  • Kapila Perera commented  ·   ·  Flag as inappropriate

    This user has the Supper Admin permission. Delete working for this user for a single record.

  • Justin Mauldin commented  ·   ·  Flag as inappropriate

    Hi Kapila,

    Thank you for reaching out with your question.

    The call for the delete is correct, however, your user in the account must not have access to that view in its permissions. That would be the only reason you would be getting the "401 Unauthorized" error.

    If you can edit the permissions for your user, and then try the call again, the delete should be successful for you.

    Thanks again,

    Justin

Feedback and Knowledge Base