The Zuplo Developer API, powered by Zuplo
Welcome to ZAPI - the Zuplo API where you can manage API keys, tunnels and more. To get your API key for this service login to portal.zuplo.com and navigate to your project Settings > Zuplo API Keys.
https://developer-api-main-8600723.self.zuplo.com
Lists consumers
Lists all consumers belonging to this account.
path Parameters
accountName
stringrequiredThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
bucketName
stringrequiredThe name of the bucket. Zuplo automatically creates a bucket for your project. You can find it in youe Zuplo Portal under Settings > Project Information.
query Parameters
limit
integerrequiredThe maximum number of entries to return. If the value exceeds the maximum, then the maximum value will be used. Default: 1000
offset
integerrequiredThe offset of the first item returned in the collection. Default: 0
include-api-keys
booleanInclude the api key data in the response.
include-manager-invites
booleanInclude the manager invites data in the response.
include-managers
booleanInclude the manager's data in the response.
key-format
stringThe format of the key to return.
none
: Key is completely hidden.visible
: Key is completely visible.masked
: Part of key suffix is visible.manager-email
stringFilter by email address of key manager.
tag
stringQuery by tag. Example usage is
tag.account=foo
, whereaccount
is the name of the tag property andfoo
is the value.
Headers
Authorization
stringrequiredThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Responses
data
object[]limit
integeroptionaloffset
integeroptionaltotal
integeroptional
Creates a consumer
Creates a new consumer for this account.
path Parameters
accountName
stringrequiredThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
bucketName
stringrequiredThe name of the bucket. Zuplo automatically creates a bucket for your project. You can find it in youe Zuplo Portal under Settings > Project Information.
query Parameters
with-api-key
booleanIf an API key should be created with the consumer.
Headers
Authorization
stringrequiredThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Request Body
name
stringA friendly name for the consumer. This name is used as the default user.sub property in the API Key Authentication policy.
managers
optionalEmail addresses of the managers to invite or a list of managers (with subs) to add to the consumer.
description
stringoptionalA description of the consumer.
tags
objectoptionalKey value pairs to associate with the consumer.
metadata
objectoptionalGeneric metadata associated with the consumer.
Responses
createdOn
stringWhen the item was created.
updatedOn
stringWhen the item was last updated.
id
stringname
stringA friendly name for the consumer. This name is used as the default user.sub property in the API Key Authentication policy.
description
stringoptionalA description of the consumer.
tags
objectoptionalKey value pairs to associate with the consumer.
metadata
objectoptionalGeneric metadata associated with the consumer.
Gets a consumer
Gets a consumer given a bucket name and consumer name.
path Parameters
accountName
stringrequiredThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
bucketName
stringrequiredThe name of the bucket. Zuplo automatically creates a bucket for your project. You can find it in youe Zuplo Portal under Settings > Project Information.
consumerName
stringrequiredThe name of the consumer.
query Parameters
include-api-keys
booleanInclude the api key data in the response.
key-format
stringThe format of the key to return.
none
: Key is completely hidden.visible
: Key is completely visible.masked
: Part of key suffix is visible.include-managers
booleanInclude the manager's data in the response.
include-manager-invites
booleanInclude the manager invites data in the response.
tag
stringQuery by tag. Example usage is
tag.account=foo
, whereaccount
is the name of the tag property andfoo
is the value.
Headers
Authorization
stringrequiredThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Responses
createdOn
stringWhen the item was created.
updatedOn
stringWhen the item was last updated.
id
stringname
stringA friendly name for the consumer. This name is used as the default user.sub property in the API Key Authentication policy.
description
stringoptionalA description of the consumer.
tags
objectoptionalKey value pairs to associate with the consumer.
metadata
objectoptionalGeneric metadata associated with the consumer.
Deletes a consumer
Deletes a consumer and any related resources
path Parameters
accountName
stringrequiredThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
bucketName
stringrequiredThe name of the bucket. Zuplo automatically creates a bucket for your project. You can find it in youe Zuplo Portal under Settings > Project Information.
consumerName
stringrequiredThe name of the consumer.
query Parameters
tag
stringQuery by tag. Example usage is
tag.account=foo
, whereaccount
is the name of the tag property andfoo
is the value.
Headers
Authorization
stringrequiredThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Responses
Updates a consumer
Update the consumer with the matching consumer name.
path Parameters
accountName
stringrequiredThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
bucketName
stringrequiredThe name of the bucket. Zuplo automatically creates a bucket for your project. You can find it in youe Zuplo Portal under Settings > Project Information.
consumerName
stringrequiredThe name of the consumer.
query Parameters
tag
stringQuery by tag. Example usage is
tag.account=foo
, whereaccount
is the name of the tag property andfoo
is the value.
Headers
Authorization
stringrequiredThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Request Body
description
stringoptionalA description of the consumer.
tags
objectoptionalKey value pairs to associate with the consumer.
metadata
objectoptionalGeneric metadata associated with the consumer.
Responses
createdOn
stringWhen the item was created.
updatedOn
stringWhen the item was last updated.
id
stringname
stringA friendly name for the consumer. This name is used as the default user.sub property in the API Key Authentication policy.
description
stringoptionalA description of the consumer.
tags
objectoptionalKey value pairs to associate with the consumer.
metadata
objectoptionalGeneric metadata associated with the consumer.
Roll consumer keys
Set expiration for keys with no expiration date and creates a new key.
path Parameters
accountName
stringrequiredThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
bucketName
stringrequiredThe name of the bucket. Zuplo automatically creates a bucket for your project. You can find it in youe Zuplo Portal under Settings > Project Information.
consumerName
stringrequiredThe name of the consumer.
query Parameters
tag
stringQuery by tag. Example usage is
tag.account=foo
, whereaccount
is the name of the tag property andfoo
is the value.
Headers
Authorization
stringrequiredThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Request Body
expiresOn
stringWhen the item will expire.