This is an object representing an API key. This section includes a list of endpoints to perform CRUD operations on an API key. You can learn more about API keys here.
Lists keys
Lists all keys for this consumer.
path Parameters
accountNamestring · requiredThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
bucketNamestring · requiredThe name of the bucket. Zuplo automatically creates a bucket for your project. You can find it in youe Zuplo Portal under Settings > Project Information.
consumerNamestring · requiredThe name of the consumer.
query Parameters
limitinteger · min: 1 · max: 1000 · requiredThe maximum number of entries to return. If the value exceeds the maximum, then the maximum value will be used. Default: 1000
offsetinteger · min: 0 · requiredThe offset of the first item returned in the collection. Default: 0
key-formatstring · enumThe format of the key to return.
none: Key is completely hidden.visible: Key is completely visible.masked: Part of key suffix is visible.Enum values:nonevisiblemasked
Responses
The request has succeeded.
dataobject[] · required
limitinteger · uint32Example: 1000offsetinteger · uint32Example: 0totalinteger · uint32
Creates an API key
Creates a new API key for this consumer. New API keys will automatically have API Key Leak Detection enabled.
path Parameters
accountNamestring · requiredThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
bucketNamestring · requiredThe name of the bucket. Zuplo automatically creates a bucket for your project. You can find it in youe Zuplo Portal under Settings > Project Information.
consumerNamestring · requiredThe name of the consumer.
Request Body
expiresOnstring · date-timeWhen the key expires.
descriptionstringThe description of the api key.
keystringThe API key's value. You can use this parameter to override Zuplo's default key format, but this is not recommended as you will lose our API Key Leak Detection
Responses
The request has succeeded.
createdOnstring · date-time · readOnly · requiredWhen the item was created.
Example: 2023-04-18T05:54:34.408ZupdatedOnstring · date-time · readOnly · requiredWhen the item was last updated.
Example: 2023-04-20T05:54:34.408Zidstring · readOnly · required
expiresOnstring · date-timeWhen the key expires.
descriptionstringThe description of the api key.
keystringThe API key's value. You can use this parameter to override Zuplo's default key format, but this is not recommended as you will lose our API Key Leak Detection
Creates multiple API keys
Creates multiple new API keys for this consumer.
path Parameters
accountNamestring · requiredThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
bucketNamestring · requiredThe name of the bucket. Zuplo automatically creates a bucket for your project. You can find it in youe Zuplo Portal under Settings > Project Information.
consumerNamestring · requiredThe name of the consumer.
Request Body
expiresOnstring · date-timeWhen the key expires.
descriptionstringThe description of the api key.
keystringThe API key's value. You can use this parameter to override Zuplo's default key format, but this is not recommended as you will lose our API Key Leak Detection
Responses
The request has succeeded.
dataobject[] · required
limitinteger · uint32Example: 1000offsetinteger · uint32Example: 0totalinteger · uint32
Gets an API key
Retrieves an API key for this consumer.
path Parameters
accountNamestring · requiredThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
bucketNamestring · requiredThe name of the bucket. Zuplo automatically creates a bucket for your project. You can find it in youe Zuplo Portal under Settings > Project Information.
consumerNamestring · requiredThe name of the consumer.
keyIdstring · requiredThe key id.
query Parameters
key-formatstring · enumThe format of the key to return.
none: Key is completely hidden.visible: Key is completely visible.masked: Part of key suffix is visible.Enum values:nonevisiblemaskedtagstringQuery by tag. Example usage is
tag.account=foo, whereaccountis the name of the tag property andfoois the value.
Responses
The request has succeeded.
createdOnstring · date-time · readOnly · requiredWhen the item was created.
Example: 2023-04-18T05:54:34.408ZupdatedOnstring · date-time · readOnly · requiredWhen the item was last updated.
Example: 2023-04-20T05:54:34.408Zidstring · readOnly · required
expiresOnstring · date-timeWhen the key expires.
descriptionstringThe description of the api key.
keystringThe API key's value. You can use this parameter to override Zuplo's default key format, but this is not recommended as you will lose our API Key Leak Detection
Deletes an API key
Deletes an API key for this consumer.
path Parameters
accountNamestring · requiredThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
bucketNamestring · requiredThe name of the bucket. Zuplo automatically creates a bucket for your project. You can find it in youe Zuplo Portal under Settings > Project Information.
consumerNamestring · requiredThe name of the consumer.
keyIdstring · requiredThe key id.
query Parameters
tagstringQuery by tag. Example usage is
tag.account=foo, whereaccountis the name of the tag property andfoois the value.
Responses
There is no content to send for this request, but the headers may be useful.
Updates an API key
Updates an API key for this consumer.
path Parameters
accountNamestring · requiredThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
bucketNamestring · requiredThe name of the bucket. Zuplo automatically creates a bucket for your project. You can find it in youe Zuplo Portal under Settings > Project Information.
consumerNamestring · requiredThe name of the consumer.
keyIdstring · requiredThe key id.
query Parameters
tagstringQuery by tag. Example usage is
tag.account=foo, whereaccountis the name of the tag property andfoois the value.
Request Body
expiresOnstring · date-timeWhen the key expires.
descriptionstringThe description of the api key.
keystringThe API key's value. You can use this parameter to override Zuplo's default key format, but this is not recommended as you will lose our API Key Leak Detection
Responses
The request has succeeded.
createdOnstring · date-time · readOnly · requiredWhen the item was created.
Example: 2023-04-18T05:54:34.408ZupdatedOnstring · date-time · readOnly · requiredWhen the item was last updated.
Example: 2023-04-20T05:54:34.408Zidstring · readOnly · required
expiresOnstring · date-timeWhen the key expires.
descriptionstringThe description of the api key.
keystringThe API key's value. You can use this parameter to override Zuplo's default key format, but this is not recommended as you will lose our API Key Leak Detection