API ReferenceApi key
Find all API keys for a user in the current tenant (or any tenant if super admin)
Finds all API keys associated with the given tenant user by their email address
AuthorizationBearer <token>
In: header
Path Parameters
userId*string
The id of the user to retrieve API keys for
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "http://localhost:18080/api/v1/api-key/all/string"[
{
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"expiration": "2019-08-24T14:15:22Z",
"id": "string",
"isCrossTenant": true,
"lastUsed": "2019-08-24T14:15:22Z",
"name": "string",
"permissions": {
"appPermissions": [
"CREATE_APIKEYS"
],
"assetManagementPermissions": [
"CREATE_ASSETS"
],
"calendarPermissions": [
"CREATE_CALENDAR_EVENTS"
],
"communicationsPermissions": [
"CREATE_TEMPLATES"
],
"configuratorPermissions": [
"CREATE_CONCEPTS"
],
"crmPermissions": [
"CREATE_LEADS"
],
"documentPermissions": [
"CREATE_DOCUMENTS"
],
"financePermissions": [
"CREATE_CLIENTS"
],
"hrPermissions": [
"CREATE_EMPLOYEES"
],
"inventoryPermissions": [
"CREATE_INVENTORY"
],
"productionPermissions": [
"CREATE_PRODUCTION"
],
"productsPermissions": [
"CREATE_PRODUCTS"
],
"projectsPermissions": [
"CREATE_PROJECTS"
],
"reportingPermissions": [
"READ_SALES_REPORTS"
]
},
"tenantId": "string",
"truncatedKey": "string"
}
]{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}