Generate keys

Creates a collection of keys with assigned values. To create keys and assign your own values, use the Create keys operation.

Query Params
string

For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

Body Params
int64
required
≥ 0

Identifies the collection that includes the key. Run the List key collections operation to select one.

integer
required
1 to 10000

Number of keys to generate.

boolean
Defaults to false

Appends an automatic increment to the label of each key. A label's increment starts with an underscore character followed by a numerical value based on the number of keys that you create. For example, if you create eight keys, the increments range from _1 to _8. If you create 125 keys, the increments range from _001 to _125.

string
length between 0 and 4000

Description for the key.

string
length between 0 and 200

Label assigned to the key.

tags
array of strings
length ≥ 0

Additional categories assigned to the key that you can use as filters.

tags
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json