Api keys
/team/:teamid/keys/
(authenticated)
Get active api keys
Note:Requires sending an authentication token either in the sessionid
query argument,
or in the X-API-Key
header. The token is returned from the login
route.
Required Team Permissions
- api_key_management
integer page: The desired page
integer pageSize: The desired page size
teamid: The id of the team to act on
/team/:teamid/key/:keyid
(authenticated)
Delete/revoke an API key
Note:Requires sending an authentication token either in the sessionid
query argument,
or in the X-API-Key
header. The token is returned from the login
route.
Required Team Permissions
- api_key_management
teamid: The id of the team to act on
keyid: undocumented
/team/:teamid/keys/generate
(authenticated)
Generate a new API key
Note:Requires sending an authentication token either in the sessionid
query argument,
or in the X-API-Key
header. The token is returned from the login
route.
Required Team Permissions
- api_key_management
{
// The group
group: number,
// The name of the key
name: string,
}
teamid: The id of the team to act on
/team/:teamid/key/:keyid
(authenticated)
Update an API key
Note:Requires sending an authentication token either in the sessionid
query argument,
or in the X-API-Key
header. The token is returned from the login
route.
Required Team Permissions
- api_key_management
{
// The new group id
group: number,
// The new name
name: string,
}
teamid: The id of the team to act on
keyid: undocumented