Skip to main content
POST

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
common_code_key
string
required

Key that links the group of access codes, assigned on creation by /access_codes/create_multiple.

ends_at
string

Date and time at which the validity of the new access code ends, in ISO 8601 format. Must be a time in the future and after starts_at.

name
string

Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.

starts_at
string

Date and time at which the validity of the new access code starts, in ISO 8601 format.

Response

OK

The response is of type object.