White Label Admin - Add organization API key
White label admin only API to add an API key to an organization. Add a temporary API key that can be used to make Organizations API (/api/organizations/{organizationId}/) requests on behalf of the organization. These API keys are not visible to the organization itself and have a customizable TTL defaulting to 1 minute.
Authorizations
Path parameters
organizationIdintegerRequired
Organization ID
innerOrganizationIdintegerRequired
Organization ID within the context of a white label
Body
all ofOptional
Responses
200
OK
application/json
Responseall of
post
POST /v1/api/organizations/{organizationId}/whitelabel/organizations/{innerOrganizationId}/apiKeys HTTP/1.1
Host: studio.edgeimpulse.com
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 54
{
"name": "text",
"apiKey": "text",
"role": "admin",
"ttl": 1
}
200
OK
{
"success": true,
"error": "text",
"id": 1,
"apiKey": "text"
}
PreviousWhite Label Admin - Update organization data exportNextWhite Label Admin - Add user to an organization
Last updated
Was this helpful?