PUT
/v1/team/{uuid}/keyGenerates an API key and returns its value
Requires permission ACCESS_MANAGEMENT or ACCESS_MANAGEMENT_CREATE
uuidstringrequired
The UUID of the team to generate a key for
201The created API key
commentstringoptional
createdintegeroptional
UNIX epoch timestamp in milliseconds
expiresAtintegeroptional
UNIX epoch timestamp in milliseconds
keystringoptional
lastUsedintegeroptional
UNIX epoch timestamp in milliseconds
legacybooleanoptional
maskedKeystringoptional
publicIdstringoptional
401Unauthorized
404The team could not be found
Error handling
A 401 is returned: Unauthorized. A 404 is returned: The team could not be found.