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.zuplo.app
Set of operations available to handle deployments. You can learn more about deployments here.
Gets a deployment status
Gets the deployment status of your upload. Use the UUID of the uploaded sources as the statusId
.
path Parameters
accountName
requiredstringThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
projectName
requiredstringThe name of the project. You can find this in your Zuplo Portal under Settings > Project Information.
statusId
requiredstringThe UUID of the uploaded sources.
Headers
Authorization
requiredstringThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Responses
status
stringurl
stringsteps
objectbuildResult
object
Lists deployments
Lists the deployments for the specified account and project.
path Parameters
accountName
requiredstringThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
projectName
requiredstringThe name of the project. You can find this in your Zuplo Portal under Settings > Project Information.
Headers
Authorization
requiredstringThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Responses
data
object[]
Upload deployment source
Creates a URL for uploading sources.
Headers
Authorization
requiredstringThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Request Body
accountName
stringThe name of the account
projectName
stringThe name of the project
branchName
stringThe name of the branch for deployment
Responses
uploadUrl
string
Get a deployment
Gets the specified deployment.
path Parameters
deploymentName
requiredstringThe name of the deployment. You can find this in the Zuplo Portal under Settings > Environments.
Headers
Authorization
requiredstringThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Responses
name
stringThe name of the deployment. You can find this in the Zuplo Portal under Settings > Environments.
url
stringlabel
stringurlParameter
stringcreatedOn
stringupdatedOn
stringloggingId
stringaccountName
stringprojectName
stringstate
stringmessage
stringbranchName
stringenvironmentType
string
Deletes a deployment
Deletes the specified deployment.
path Parameters
deploymentName
requiredstringThe name of the deployment. You can find this in the Zuplo Portal under Settings > Environments.
Headers
Authorization
requiredstringThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Responses
Re-deploy a deployment
Re-deploys the specified deployment so that it can pick up new environment variables or other configuration changes.
path Parameters
deploymentName
requiredstringThe name of the deployment. You can find this in the Zuplo Portal under Settings > Environments.
Headers
Authorization
requiredstringThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Responses
status
string
List of endpoints available to perform operations on Tunnels.
Lists tunnels
Lists all tunnels belonging to this account.
path Parameters
accountName
requiredstringThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
Headers
Authorization
requiredstringThe
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 tunnel
Creates a new tunnel for this account.
path Parameters
accountName
requiredstringThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
Headers
Authorization
requiredstringThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Request Body
id
stringname
stringA friendly name for the tunnel.
token
stringSet your TUNNEL_TOKEN to this value to connect to the tunnel.
Responses
id
stringname
stringA friendly name for the tunnel.
token
stringSet your TUNNEL_TOKEN to this value to connect to the tunnel.
Gets a tunnel
Returns the details for a tunnel, including the token used to connect to the tunnel.
path Parameters
accountName
requiredstringThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
tunnelId
requiredstringThe ID of the tunnel.
Headers
Authorization
requiredstringThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Responses
id
stringname
stringA friendly name for the tunnel.
token
stringSet your TUNNEL_TOKEN to this value to connect to the tunnel.
Deletes a tunnel
Deletes a tunnel and any services that it has.
path Parameters
accountName
requiredstringThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
tunnelId
requiredstringThe ID of the tunnel.
Headers
Authorization
requiredstringThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Responses
id
stringstatus
stringmessage
stringoptionaldetails
stringoptional
Rotates the token
Rotates the token used to connect to the tunnel.
path Parameters
accountName
requiredstringThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
tunnelId
requiredstringThe ID of the tunnel.
Headers
Authorization
requiredstringThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Responses
id
stringname
stringA friendly name for the tunnel.
token
stringSet your TUNNEL_TOKEN to this value to connect to the tunnel.
Gets a teardown status
This endpoint returns the status of the deletion of the tunnel. Tearing down the tunnel is an asynchronous process so this endpoint allows you to poll the status.
path Parameters
accountName
requiredstringThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
tunnelId
requiredstringThe ID of the tunnel.
operationId
requiredstringThe ID of the deletion operation.
Headers
Authorization
requiredstringThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Responses
id
stringstatus
stringmessage
stringoptionaldetails
stringoptional
List of endpoints available to manage services for a given tunnel.
Gets a provisioning status
This endpoint returns the status of the services that the tunnel is currently configured for. Provisioning the services is an asynchronous process so this endpoint allows you to poll the status.
path Parameters
accountName
requiredstringThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
tunnelId
requiredstringThe ID of the tunnel.
operationId
requiredstringThe ID of the operation.
Headers
Authorization
requiredstringThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Responses
id
stringstatus
stringmessage
stringoptionaldetails
stringoptional
Gets a service configuration
This endpoint returns a snapshot of the services that the tunnel is currently configured for.
path Parameters
accountName
requiredstringThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
tunnelId
requiredstringThe ID of the tunnel.
Headers
Authorization
requiredstringThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Responses
version
integerThe version of this configuration format.
services
object[]A list of services that the tunnel will connect to.
Configures tunnel services
This endpoint reads the request body and creates/updates/delete the services that the tunnel connects to.
path Parameters
accountName
requiredstringThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
tunnelId
requiredstringThe ID of the tunnel.
Headers
Authorization
requiredstringThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Request Body
version
integerThe version of this configuration format.
services
object[]A list of services that the tunnel will connect to.
Responses
id
stringstatus
stringmessage
stringoptionaldetails
stringoptional
Set of operations available to create and update environment variables. You can learn more about environment variables here.
Creates a variable
Creates a new environment variable in a branch for a given project.
path Parameters
accountName
requiredstringThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
projectName
requiredstringThe name of the project. You can find this in your Zuplo Portal under Settings > Project Information.
branchName
requiredstringThe name of the branch in your source control provider.
Headers
Authorization
requiredstringThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Request Body
name
stringThe name of the variable. Must be named in SCREAMING_SNAKE_CASE.
isSecret
booleanWhether the variable is a secret.
value
stringThe value of the variable.
Responses
branch
stringcreatedOn
stringWhen the item was created.
updatedOn
stringWhen the item was last updated.
name
stringThe name of the variable. Must be named in SCREAMING_SNAKE_CASE.
isSecret
booleanWhether the variable is a secret.
value
stringThe value of the variable.
Updates a variable
Update the value of a variable in a branch for a given project.
path Parameters
accountName
requiredstringThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
projectName
requiredstringThe name of the project. You can find this in your Zuplo Portal under Settings > Project Information.
branchName
requiredstringThe name of the branch in your source control provider.
variableName
requiredstringThe name of the environment variable.
Headers
Authorization
requiredstringThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Request Body
value
stringoptionalThe value of the variable.
Responses
branch
stringcreatedOn
stringWhen the item was created.
updatedOn
stringWhen the item was last updated.
name
stringThe name of the variable. Must be named in SCREAMING_SNAKE_CASE.
isSecret
booleanWhether the variable is a secret.
value
stringThe value of the variable.
A Bucket is an object representing a group of API key consumers for a given account. This section includes a group of endpoints available to perform CRUD operations on a bucket. You can learn more about buckets here.
Lists buckets
Lists all buckets belonging to this account.
path Parameters
accountName
requiredstringThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
Headers
Authorization
requiredstringThe
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 bucket
Creates a new bucket for this account.
path Parameters
accountName
requiredstringThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
Headers
Authorization
requiredstringThe
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 bucket.
description
stringoptionalA description of the bucket.
tags
objectoptionalKey value pairs to associate with the bucket.
Responses
createdOn
stringWhen the item was created.
updatedOn
stringWhen the item was last updated.
id
stringname
stringA friendly name for the bucket.
isRetrievable
booleanoptionalWhether the API keys stored in the bucket are retrievable
description
stringoptionalA description of the bucket.
tags
objectoptionalKey value pairs to associate with the bucket.
Gets a bucket
Returns the details for a bucket, including the token used to connect to the bucket.
path Parameters
accountName
requiredstringThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
bucketName
requiredstringThe name of the bucket. Zuplo automatically creates a bucket for your project. You can find it in youe Zuplo Portal under Settings > Project Information.
Headers
Authorization
requiredstringThe
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 bucket.
isRetrievable
booleanoptionalWhether the API keys stored in the bucket are retrievable
description
stringoptionalA description of the bucket.
tags
objectoptionalKey value pairs to associate with the bucket.
Deletes a bucket
Deletes a bucket and any related resources
path Parameters
accountName
requiredstringThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
bucketName
requiredstringThe name of the bucket. Zuplo automatically creates a bucket for your project. You can find it in youe Zuplo Portal under Settings > Project Information.
Headers
Authorization
requiredstringThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Responses
Updates a bucket
Updates a bucket, and returns the updated value.
path Parameters
accountName
requiredstringThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
bucketName
requiredstringThe name of the bucket. Zuplo automatically creates a bucket for your project. You can find it in youe Zuplo Portal under Settings > Project Information.
Headers
Authorization
requiredstringThe
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 bucket.
tags
objectoptionalKey value pairs to associate with the bucket.
Responses
createdOn
stringWhen the item was created.
updatedOn
stringWhen the item was last updated.
id
stringname
stringA friendly name for the bucket.
isRetrievable
booleanoptionalWhether the API keys stored in the bucket are retrievable
description
stringoptionalA description of the bucket.
tags
objectoptionalKey value pairs to associate with the bucket.
A Consumer is an object representing a group of API keys in a given bucket. This section includes a group of endpoints available to perform CRUD operations on a consumer. You can learn more about consumers here.
Lists consumers
Lists all consumers belonging to this account.
path Parameters
accountName
requiredstringThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
bucketName
requiredstringThe 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
requiredintegerThe maximum number of entries to return. If the value exceeds the maximum, then the maximum value will be used. Default: 1000
offset
requiredintegerThe 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
requiredstringThe
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
requiredstringThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
bucketName
requiredstringThe 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
requiredstringThe
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
requiredstringThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
bucketName
requiredstringThe 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
requiredstringThe 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
requiredstringThe
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
requiredstringThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
bucketName
requiredstringThe 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
requiredstringThe 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
requiredstringThe
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
requiredstringThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
bucketName
requiredstringThe 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
requiredstringThe 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
requiredstringThe
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
requiredstringThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
bucketName
requiredstringThe 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
requiredstringThe 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
requiredstringThe
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.
Responses
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
accountName
requiredstringThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
bucketName
requiredstringThe 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
requiredstringThe name of the consumer.
query Parameters
limit
requiredintegerThe maximum number of entries to return. If the value exceeds the maximum, then the maximum value will be used. Default: 1000
offset
requiredintegerThe offset of the first item returned in the collection. Default: 0
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.
Headers
Authorization
requiredstringThe
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 an API key
Creates a new API key for this consumer. New API keys will automatically have API Key Leak Detection enabled.
path Parameters
accountName
requiredstringThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
bucketName
requiredstringThe 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
requiredstringThe name of the consumer.
Headers
Authorization
requiredstringThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Request Body
expiresOn
stringoptionalWhen the key expires.
description
stringoptionalThe description of the api key.
key
stringoptionalThe 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
createdOn
stringWhen the item was created.
updatedOn
stringWhen the item was last updated.
id
stringexpiresOn
stringoptionalWhen the key expires.
description
stringoptionalThe description of the api key.
key
stringoptionalThe 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
accountName
requiredstringThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
bucketName
requiredstringThe 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
requiredstringThe name of the consumer.
Headers
Authorization
requiredstringThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Request Body
expiresOn
stringoptionalWhen the key expires.
description
stringoptionalThe description of the api key.
key
stringoptionalThe 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
data
object[]limit
integeroptionaloffset
integeroptionaltotal
integeroptional
Gets an API key
Retrieves an API key for this consumer.
path Parameters
accountName
requiredstringThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
bucketName
requiredstringThe 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
requiredstringThe name of the consumer.
keyId
requiredstringThe key id.
query Parameters
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.tag
stringQuery by tag. Example usage is
tag.account=foo
, whereaccount
is the name of the tag property andfoo
is the value.
Headers
Authorization
requiredstringThe
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
stringexpiresOn
stringoptionalWhen the key expires.
description
stringoptionalThe description of the api key.
key
stringoptionalThe 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
accountName
requiredstringThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
bucketName
requiredstringThe 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
requiredstringThe name of the consumer.
keyId
requiredstringThe key id.
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
requiredstringThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Responses
Updates an API key
Updates an API key for this consumer.
path Parameters
accountName
requiredstringThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
bucketName
requiredstringThe 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
requiredstringThe name of the consumer.
keyId
requiredstringThe key id.
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
requiredstringThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Request Body
expiresOn
stringoptionalWhen the key expires.
description
stringoptionalThe description of the api key.
key
stringoptionalThe 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
createdOn
stringWhen the item was created.
updatedOn
stringWhen the item was last updated.
id
stringexpiresOn
stringoptionalWhen the key expires.
description
stringoptionalThe description of the api key.
key
stringoptionalThe 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
Lists metering buckets
Lists all buckets belonging to this account.
Headers
Authorization
requiredstringThe
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 bucket
Creates a new bucket for this account.
Headers
Authorization
requiredstringThe
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
string
Gets a bucket
Returns the details for a bucket.
path Parameters
bucketId
requiredstringThe id of the bucket. Zuplo automatically creates buckets for your project. You can find it in your Zuplo Portal under the Settings tab for your project.
Headers
Authorization
requiredstringThe
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
string
Deletes a bucket
Deletes a bucket and any related resources
path Parameters
bucketId
requiredstringThe id of the bucket. Zuplo automatically creates buckets for your project. You can find it in your Zuplo Portal under the Settings tab for your project.
Headers
Authorization
requiredstringThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Responses
Lists plans
Lists all plans belonging to this bucket.
path Parameters
bucketId
requiredstringThe id of the bucket. Zuplo automatically creates buckets for your project. You can find it in your Zuplo Portal under the Settings tab for your project.
Headers
Authorization
requiredstringThe
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 plan
Creates a new plan for this bucket.
path Parameters
bucketId
requiredstringThe id of the bucket. Zuplo automatically creates buckets for your project. You can find it in your Zuplo Portal under the Settings tab for your project.
Headers
Authorization
requiredstringThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Request Body
label
stringplanExternalId
stringmeters
object
trialDays
integeroptionaltrialEndStatus
stringoptionalisTrialCollectPayment
booleanoptional
Responses
createdOn
stringWhen the item was created.
updatedOn
stringWhen the item was last updated.
id
stringhasSubscriptions
booleanlabel
stringplanExternalId
stringmeters
objecttrialDays
integeroptionaltrialEndStatus
stringoptionalisTrialCollectPayment
booleanoptional
Gets a plan
Returns the details for a plan.
path Parameters
bucketId
requiredstringThe id of the bucket. Zuplo automatically creates buckets for your project. You can find it in your Zuplo Portal under the Settings tab for your project.
planId
requiredstringThe id of the plan.
Headers
Authorization
requiredstringThe
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
stringhasSubscriptions
booleanlabel
stringplanExternalId
stringmeters
objecttrialDays
integeroptionaltrialEndStatus
stringoptionalisTrialCollectPayment
booleanoptional
Deletes a plan
Deletes a plan (if there are no associated subscriptions)
path Parameters
bucketId
requiredstringThe id of the bucket. Zuplo automatically creates buckets for your project. You can find it in your Zuplo Portal under the Settings tab for your project.
planId
requiredstringThe id of the plan.
Headers
Authorization
requiredstringThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Responses
Updates a plan
Update the details for a plan
path Parameters
bucketId
requiredstringThe id of the bucket. Zuplo automatically creates buckets for your project. You can find it in your Zuplo Portal under the Settings tab for your project.
planId
requiredstringThe id of the plan.
Headers
Authorization
requiredstringThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Request Body
label
stringoptionalplanExternalId
stringoptionalmeters
objectoptionaltrialDays
integeroptionaltrialEndStatus
stringoptionalisTrialCollectPayment
booleanoptional
Responses
createdOn
stringWhen the item was created.
updatedOn
stringWhen the item was last updated.
id
stringhasSubscriptions
booleanlabel
stringplanExternalId
stringmeters
objecttrialDays
integeroptionaltrialEndStatus
stringoptionalisTrialCollectPayment
booleanoptional
Lists subscriptions
Lists all subscriptions belonging to this bucket.
path Parameters
bucketId
requiredstringThe id of the bucket. Zuplo automatically creates buckets for your project. You can find it in your Zuplo Portal under the Settings tab for your project.
Headers
Authorization
requiredstringThe
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 subscription
Creates a new subscription for this bucket.
path Parameters
bucketId
requiredstringThe id of the bucket. Zuplo automatically creates buckets for your project. You can find it in your Zuplo Portal under the Settings tab for your project.
Headers
Authorization
requiredstringThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Request Body
planIds
string[]planExternalIds
string[]status
stringtype
stringrenewalStrategy
stringregion
stringcustomerKey
stringsubscriptionExternalId
stringcustomerExternalId
string
quotaResetAnchor
stringoptionalmetadata
objectoptionaltrialEndStatus
stringoptionaltrialEndDate
stringoptionaltrialStartDate
stringoptional
Responses
createdOn
stringWhen the item was created.
updatedOn
stringWhen the item was last updated.
id
stringplanIds
string[]planExternalIds
string[]status
stringtype
stringrenewalStrategy
stringregion
stringcustomerKey
stringsubscriptionExternalId
stringcustomerExternalId
stringquotaResetAnchor
stringoptionalmetadata
objectoptionaltrialEndStatus
stringoptionaltrialEndDate
stringoptionaltrialStartDate
stringoptional
Gets a subscription
Returns the details for a subscription.
path Parameters
bucketId
requiredstringThe id of the bucket. Zuplo automatically creates buckets for your project. You can find it in your Zuplo Portal under the Settings tab for your project.
subscriptionId
requiredstringThe id of the subscription.
Headers
Authorization
requiredstringThe
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
stringplanIds
string[]planExternalIds
string[]status
stringtype
stringrenewalStrategy
stringregion
stringcustomerKey
stringsubscriptionExternalId
stringcustomerExternalId
stringquotaResetAnchor
stringoptionalmetadata
objectoptionaltrialEndStatus
stringoptionaltrialEndDate
stringoptionaltrialStartDate
stringoptional
Deletes a subscription
Deletes a subscription and any related resources
path Parameters
bucketId
requiredstringThe id of the bucket. Zuplo automatically creates buckets for your project. You can find it in your Zuplo Portal under the Settings tab for your project.
subscriptionId
requiredstringThe id of the subscription.
Headers
Authorization
requiredstringThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Responses
Updates a subscription
Updates the subscription for this bucket.
path Parameters
bucketId
requiredstringThe id of the bucket. Zuplo automatically creates buckets for your project. You can find it in your Zuplo Portal under the Settings tab for your project.
subscriptionId
requiredstringThe id of the subscription.
Headers
Authorization
requiredstringThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Request Body
planExternalIds
string[]optionalstatus
stringoptionalprorate
numberoptionalmetadata
objectoptionaltrialEndDate
stringoptional
Responses
createdOn
stringWhen the item was created.
updatedOn
stringWhen the item was last updated.
id
stringplanIds
string[]planExternalIds
string[]status
stringtype
stringrenewalStrategy
stringregion
stringcustomerKey
stringsubscriptionExternalId
stringcustomerExternalId
stringquotaResetAnchor
stringoptionalmetadata
objectoptionaltrialEndStatus
stringoptionaltrialEndDate
stringoptionaltrialStartDate
stringoptional
Get quotas
Get the quotas for this subscription
path Parameters
bucketId
requiredstringThe id of the bucket. Zuplo automatically creates buckets for your project. You can find it in your Zuplo Portal under the Settings tab for your project.
subscriptionId
requiredstringThe id of the subscription.
Headers
Authorization
requiredstringThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Responses
Who Am I
Returns basic information about the caller (using the api key)
Headers
Authorization
requiredstringThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Responses
account
string