Skip to main content

Create API keys for a user

This endpoint is used to create API keys for a user. In estuary, each user is given an API key to access all features.

Query Parameters
expiry string

Expiration - Expiration - Valid time units are ns, us (or µs), ms, s, m, h. for example 300h

perms string

Permissions

Responses
200

OK

Schema OPTIONAL
expiry string OPTIONAL
label string OPTIONAL
token string OPTIONAL
tokenHash string OPTIONAL
400

Bad Request

Schema OPTIONAL
code integer OPTIONAL
details string OPTIONAL
reason string OPTIONAL
404

Not Found

Schema OPTIONAL
code integer OPTIONAL
details string OPTIONAL
reason string OPTIONAL
500

Internal Server Error

Schema OPTIONAL
code integer OPTIONAL
details string OPTIONAL
reason string OPTIONAL