I am trying to add a tag to an existing restApi with aws cli.
Have tried
aws apigateway update-rest-api --rest-api-id ${rest_api_id} --patch-operations op=add,path=/tags/keytest,value='testvalue'
and getting
An error occurred (BadRequestException) when calling the UpdateRestApi operation: Invalid patch path /tags/keytest
Thanks in advance