Request:
```
curl -X POST \
https://www.eventbriteapi.com/v3/events/35578407976/access_codes/317167042 \
-H 'authorization: Bearer **********' \
-H 'cache-control: no-cache' \
-H 'content-type: application/json' \
-d '{
"access_code": {
"code": "****-n172-z73v-qr8p",
"ticket_ids": [
"69101783"
],
"quantity_available": 2
}
}'
```
Response:
```
{
"resource_uri": "https://www.eventbriteapi.com/v3/discounts/317167042/",
"amount_off": null,
"code": "****-n172-z73v-qr8p",
"discount_type": "access",
"end_date": "2017-09-23T21:28:38",
"end_date_relative": null,
"id": "317167042",
"percent_off": null,
"quantity_available": 1,
"quantity_sold": 0,
"start_date": null,
"start_date_relative": null,
"hold_ids": null,
"ticket_ids": [
"69101783"
],
"event_id": "35578407976",
"ticket_group_id": null
}
```