API Reference
Log In
API Reference

Create a quota

This endpoint creates a new quota linked to a user, project, or team. It’s set at the API Key’s level within a given date range.

👍

Roles

Platform Administrators can access this route.

🚧

When the request body defines a period, the quota date range (from and to) is automatically defined. Do not use date range and period parameters together.

Body Params
string

A user's identifier to apply the quota. If it is provided, project and team parameters should not be used.

string

A project's identifier to apply the quota. If it is provided, user and team parameters should not be used.

string

A team's identifier to to apply the quota. If it is provided, user and project parameters should not be used.

date
Defaults to 2021-08-20

The quota’s period start date/time in ISO8601 (YYYY-MM-DDThh:mm:ss.sTZD) format. It should not be provided when period is provided.

date
Defaults to 2021-08-31

The quota’s period end date/time in ISO8601 (YYYY-MM-DDThh:mm:ss.sTZD) format. It should not be provided when period is provided.

string

The period considered for quota usage count. It can be null, hourly, daily, weekly, monthly, or yearly. It should not be provided when from and to are provided.

int32
required
Defaults to 100

Maximum number of job inputs a user, team, or project can run in the date range.

Responses

Language
Credentials
Request
Choose an example:
application/json