Returns all the API Keys for an Environment
OK
Unauthenticated
Unauthorized
The specified resource was not found
Internal server error
{- "itemCount": 1,
- "pageCount": 100,
- "pageIndex": 0,
- "pageSize": 1,
- "version": 5,
- "apiKeys": [
- {
- "apiKey": "b03af1cd-bd3f-472b-a4b0-c9c9c09c642e",
- "applicationIds": [
- {
- "applicationId": "my-springboot-application",
- "lastUsed": 1726744149
}
], - "identifier": "production",
- "key": "3c940273c34e8a9b21",
- "lastUsed": 1726744149,
- "name": "Production Server Key",
- "type": "server"
}
]
}
Creates an API key for the given Environment
Created
Bad request
Unauthenticated
Unauthorized
The specified resource already exists
Internal server error
{- "description": "This key is for server side production environment",
- "expiredAt": 0,
- "identifier": "production-environment",
- "name": "production-env-key",
- "type": "Server"
}
{- "apiKey": "b03af1cd-bd3f-472b-a4b0-c9c9c09c642e",
- "applicationIds": [
- {
- "applicationId": "my-springboot-application",
- "lastUsed": 1726744149
}
], - "identifier": "production",
- "key": "3c940273c34e8a9b21",
- "lastUsed": 1726744149,
- "name": "Production Server Key",
- "type": "server"
}
Deletes an API key for the given identifier
No content
Unauthenticated
Unauthorized
The specified resource was not found
Internal server error
{- "code": "404",
- "details": { },
- "message": "string"
}
Returns all the API Keys for the given identifier
Created
Unauthenticated
Unauthorized
The specified resource was not found
Internal server error
{- "apiKey": "b03af1cd-bd3f-472b-a4b0-c9c9c09c642e",
- "applicationIds": [
- {
- "applicationId": "my-springboot-application",
- "lastUsed": 1726744149
}
], - "identifier": "production",
- "key": "3c940273c34e8a9b21",
- "lastUsed": 1726744149,
- "name": "Production Server Key",
- "type": "server"
}
Updates an API key for the given identifier
Updated
Bad request
Unauthenticated
Unauthorized
The specified resource already exists
Internal server error
{- "description": "This key is for server side production environment",
- "expiredAt": 0,
- "name": "production-env-key"
}
{- "code": 404,
- "details": { },
- "message": "Error retrieving projects, organization 'default_org' does not exist"
}