POST
/
v1
/
accounts
/
{account_id}
/
apiKeys

Authorizations

Authorization
string
header
required

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

Path Parameters

account_id
string
required

The Account Id

Body

application/json
apiKey
object
required

The API key to be created.

Response

200 - application/json
A successful response.
keyId
string

Unique identifier (Key ID) for the API key, used primarily for deletion.

displayName
string

Display name for the API key, defaults to "default" if not specified.

key
string

The actual API key value, only available upon creation and not stored thereafter.

createTime
string

Timestamp indicating when the API key was created.

secure
boolean

Indicates whether the plaintext value of the API key is unknown to Fireworks. If true, Fireworks does not know this API key's plaintext value. If false, Fireworks does know the plaintext value.