POST
/
api-keys
/
{type}
/
{sub-type}

Authorizations

x-portkey-api-key
string
headerrequired

Path Parameters

type
enum<string>
required
Available options:
organisation,
workspace
sub-type
enum<string>
required
Available options:
user,
service

Body

application/json
name
string
description
string
workspace_id
string
user_id
string
rate_limits
object[]
usage_limits
object
scopes
string[]
defaults
object

Response

200 - application/json
id
string
key
string
object
enum<string>
Available options:
api-key