Hi Guys,
I am new to the AWS API gateway service. I am trying to add a tag to an existing restApi with AWS CLI. I have tried with the below command.
$ aws apigateway update-rest-api --rest-api-id ${rest_api_id} --patch-operations op=add,path=/tags/keytest,value='testvalue'
But it is showing me the below error.
An error occurred (BadRequestException) when calling the UpdateRestApi operation: Invalid patch path /tags/keytest