curl --location --request POST 'https://api.github.com/repos///tags/protection' \
--header 'Content-Type: application/json' \
--data-raw '{
"pattern": "v1.*"
}'
{
"created_at": "2011-01-26T19:01:12.000Z",
"enabled": true,
"id": 2,
"pattern": "v1.*",
"updated_at": "2011-01-26T19:01:12.000Z"
}