Authentication API v1.1 Authentication API v1.1
This specification describes the Authentication v1.1 APIs.
Version: 1.1.x
BasePath:
Base URL:
https://account.api.here.com/authentication/v1.1
Access
[ Jump to
Models ]
Table of Contents
Up delete /apps/{app}/apiKeys/{apiKey}
Delete API Key (deleteAPIKey)
Deletes API key of the application. This API key can no longer be used for authentication or authorization.
Since API key cannot be recovered once deleted, it is recommended that the client application calling this end-point should enforce a confirmation of delete action (Example: Confirm box saying: Are you sure you want to delete this API Key?).
Path parameters
app (required)
Path Parameter — HRN identifying the application. default: null
apiKey (required)
Path Parameter — HRN with obfuscated apiKeyId. default: null
Request headers
Authorization (required)
Header Parameter — The OAuth2 bearer token used to authorize the request. The token should be supplied in the format 'Bearer [token]'. Access token can be obtained via
Get Access Token API default: null
X-Correlation-ID (optional)
Header Parameter — Correlates HTTP requests between a client and server. If not present in the incoming request, it will be generated. This header and value will be included in all loglines including access logs. It will also be propagated to downstream services and returned in the response. default: null
X-Request-ID (optional)
Header Parameter — The unique for the request, used to track this request within the service. X-Request-ID value is NOT propagated to the downstream services. default: null
Responses
204
No Content
401
- 401300 - Access is denied due to invalid credentials.
404
- 404660 - No app exists with the given id.
- 404666 - The API key does not exist.
429
- 429002 - Request blocked because of too many requests made. Wait for a while before making a new request.
Up post /apps/{app}/apiKeys/{apiKey}/disable
Disable API Key (disableAPIKey)
Disables API key of the application.
Path parameters
app (required)
Path Parameter — HRN identifying the application. default: null
apiKey (required)
Path Parameter — HRN with obfuscated apiKeyId. default: null
Request headers
Authorization (required)
Header Parameter — The OAuth2 bearer token used to authorize the request. The token should be supplied in the format 'Bearer [token]'. Access token can be obtained via
Get Access Token API default: null
X-Correlation-ID (optional)
Header Parameter — Correlates HTTP requests between a client and server. If not present in the incoming request, it will be generated. This header and value will be included in all loglines including access logs. It will also be propagated to downstream services and returned in the response. default: null
X-Request-ID (optional)
Header Parameter — The unique for the request, used to track this request within the service. X-Request-ID value is NOT propagated to the downstream services. default: null
Responses
204
No Content
401
- 401300 - Access is denied due to invalid credentials.
404
- 404660 - No app exists with the given id.
- 404666 - The API key does not exist.
429
- 429002 - Request blocked because of too many requests made. Wait for a while before making a new request.
Up post /apps/{app}/apiKeys/{apiKey}/enable
Enable API Key (enableAPIKey)
Enables API key of the application.
Path parameters
app (required)
Path Parameter — HRN identifying the application. default: null
apiKey (required)
Path Parameter — HRN with obfuscated apiKeyId. default: null
Request headers
Authorization (required)
Header Parameter — The OAuth2 bearer token used to authorize the request. The token should be supplied in the format 'Bearer [token]'. Access token can be obtained via
Get Access Token API default: null
X-Correlation-ID (optional)
Header Parameter — Correlates HTTP requests between a client and server. If not present in the incoming request, it will be generated. This header and value will be included in all loglines including access logs. It will also be propagated to downstream services and returned in the response. default: null
X-Request-ID (optional)
Header Parameter — The unique for the request, used to track this request within the service. X-Request-ID value is NOT propagated to the downstream services. default: null
Responses
204
No Content
401
- 401300 - Access is denied due to invalid credentials.
404
- 404660 - No app exists with the given id.
- 404666 - The API key does not exist.
429
- 429002 - Request blocked because of too many requests made. Wait for a while before making a new request.
Up post /apps/{app}/apiKeys
Generate API Key (generateAPIKey)
Generates a new API key for the application. API key will be enabled on creation. A maximum of 2 API keys are maintained per application at any given point.
Path parameters
app (required)
Path Parameter — HRN identifying the application. default: null
Consumes
This API call consumes the following media types via the request header:
Request body
Request headers
Authorization (required)
Header Parameter — The OAuth2 bearer token used to authorize the request. The token should be supplied in the format 'Bearer [token]'. Access token can be obtained via
Get Access Token API default: null
X-Correlation-ID (optional)
Header Parameter — Correlates HTTP requests between a client and server. If not present in the incoming request, it will be generated. This header and value will be included in all loglines including access logs. It will also be propagated to downstream services and returned in the response. default: null
X-Request-ID (optional)
Header Parameter — The unique for the request, used to track this request within the service. X-Request-ID value is NOT propagated to the downstream services. default: null
Return type
Example data
Content-Type: application/json
{
"apiKey" : "hrn:here:account::myrealm:apikey/ygfDVbZc7vJQTRGjC5-YXZbuwWwxFu4FxD5SsWbp-no",
"identity" : "hrn:here:account::myrealm:app/lACE8kgYxsahjbXnvy8w",
"name" : "API Key for test app",
"apiKeyId" : "2MZr9AInTFk45NAU8ClIza2Yw7w_AXyUyM4ChvtO7bY",
"createdTime" : 1545041748000,
"realm" : "hrn:here:account::myrealm:realm/myrealm",
"enabled" : true,
"expiresAt" : 1545041748000
}
Produces
This API call produces the following media types according to the request header; the media type will be conveyed by the response header.
Responses
201
Created
ApiKey 400
- 400337 - API Key cannot be generated for client with issuer(s).
401
- 401300 - Access is denied due to invalid credentials.
404
- 404660 - No app exists with the given id.
409
- 409303 - Reached allowed maximum number of active API keys per application. Delete an API key to generate another one.
429
- 429002 - Request blocked because of too many requests made. Wait for a while before making a new request.
Up get /apps/{app}/apiKeys/{apiKey}
Retrieve API Key by user (getAPIKeyByUser)
Retrieves API key of the application.
Path parameters
app (required)
Path Parameter — HRN identifying the application. default: null
apiKey (required)
Path Parameter — HRN with obfuscated apiKeyId. default: null
Request headers
Authorization (required)
Header Parameter — The OAuth2 bearer token used to authorize the request. The token should be supplied in the format 'Bearer [token]'. Access token can be obtained via
Get Access Token API default: null
X-Correlation-ID (optional)
Header Parameter — Correlates HTTP requests between a client and server. If not present in the incoming request, it will be generated. This header and value will be included in all loglines including access logs. It will also be propagated to downstream services and returned in the response. default: null
X-Request-ID (optional)
Header Parameter — The unique for the request, used to track this request within the service. X-Request-ID value is NOT propagated to the downstream services. default: null
Return type
Example data
Content-Type: application/json
{
"apiKey" : "hrn:here:account::myrealm:apikey/ygfDVbZc7vJQTRGjC5-YXZbuwWwxFu4FxD5SsWbp-no",
"identity" : "hrn:here:account::myrealm:app/lACE8kgYxsahjbXnvy8w",
"name" : "API Key for test app",
"apiKeyId" : "2MZr9AInTFk45NAU8ClIza2Yw7w_AXyUyM4ChvtO7bY",
"createdTime" : 1545041748000,
"realm" : "hrn:here:account::myrealm:realm/myrealm",
"enabled" : true,
"expiresAt" : 1545041748000
}
Produces
This API call produces the following media types according to the request header; the media type will be conveyed by the response header.
Responses
200
OK
ApiKey 401
- 401300 - Access is denied due to invalid credentials.
404
- 404660 - No app exists with the given id.
- 404666 - The API key does not exist
429
- 429002 - Request blocked because of too many requests made. Wait for a while before making a new request.
Up get /apps/{app}/apiKeys
Get API Keys (getAPIKeys)
Lists the API keys generated for an application.
Path parameters
app (required)
Path Parameter — HRN identifying the application. default: null
Request headers
Authorization (required)
Header Parameter — The OAuth2 bearer token used to authorize the request. The token should be supplied in the format 'Bearer [token]'. Access token can be obtained via
Get Access Token API default: null
X-Correlation-ID (optional)
Header Parameter — Correlates HTTP requests between a client and server. If not present in the incoming request, it will be generated. This header and value will be included in all loglines including access logs. It will also be propagated to downstream services and returned in the response. default: null
X-Request-ID (optional)
Header Parameter — The unique for the request, used to track this request within the service. X-Request-ID value is NOT propagated to the downstream services. default: null
Query parameters
pageToken (optional)
Query Parameter —
If there are more records than 'limit' (between 1 and 100), and there are multiple pages of records, 'pageToken' allows for retrieval of individual pages. In order to retrieve subsequent pages, the client should provide the pageToken returned in the result from the previous API call as input to the following API call.
Example: If the result for a call to GET /items returns {..., "pageToken": "abcdefg"}, in order to retrieve the next page of 'items' the client should call GET /items?pageToken=abcdefg
default: null
limit (optional)
Query Parameter — Number of records to return. Default is 100 records. Maximum is 100 records. default: 100
Return type
Example data
Content-Type: application/json
null
Produces
This API call produces the following media types according to the request header; the media type will be conveyed by the response header.
Responses
200
OK
ApiKeyPageWToken 404
- 404660 - No app exists with the given id.
429
- 429002 - Request blocked because of too many requests made. Wait for a while before making a new request.
Up patch /apps/{app}/apiKeys/{apiKey}
Update API Key (updateAPIKey)
Updates API key of the application.
Path parameters
app (required)
Path Parameter — HRN identifying the application. default: null
apiKey (required)
Path Parameter — HRN with obfuscated apiKeyId. default: null
Consumes
This API call consumes the following media types via the request header:
Request body
Request headers
Authorization (required)
Header Parameter — The OAuth2 bearer token used to authorize the request. The token should be supplied in the format 'Bearer [token]'. Access token can be obtained via
Get Access Token API default: null
X-Correlation-ID (optional)
Header Parameter — Correlates HTTP requests between a client and server. If not present in the incoming request, it will be generated. This header and value will be included in all loglines including access logs. It will also be propagated to downstream services and returned in the response. default: null
X-Request-ID (optional)
Header Parameter — The unique for the request, used to track this request within the service. X-Request-ID value is NOT propagated to the downstream services. default: null
Return type
Example data
Content-Type: application/json
{
"apiKey" : "hrn:here:account::myrealm:apikey/ygfDVbZc7vJQTRGjC5-YXZbuwWwxFu4FxD5SsWbp-no",
"identity" : "hrn:here:account::myrealm:app/lACE8kgYxsahjbXnvy8w",
"name" : "API Key for test app",
"apiKeyId" : "2MZr9AInTFk45NAU8ClIza2Yw7w_AXyUyM4ChvtO7bY",
"createdTime" : 1545041748000,
"realm" : "hrn:here:account::myrealm:realm/myrealm",
"enabled" : true,
"expiresAt" : 1545041748000
}
Produces
This API call produces the following media types according to the request header; the media type will be conveyed by the response header.
Responses
200
OK
ApiKey 401
- 401300 - Access is denied due to invalid credentials.
404
- 404660 - No app exists with the given id.
- 404666 - The API key does not exist.
429
- 429002 - Request blocked because of too many requests made. Wait for a while before making a new request.
Up post /apps/{app}/accessKeys
Create Access Key (createAccessKey)
Create a new access key for the requested application.
Path parameters
app (required)
Path Parameter — HRN identifying the application. default: null
Request headers
Authorization (required)
Header Parameter — The OAuth2 bearer token used to authorize the request. The token should be supplied in the format 'Bearer [token]'. Access token can be obtained via
Get Access Token API default: null
X-Correlation-ID (optional)
Header Parameter — Correlates HTTP requests between a client and server. If not present in the incoming request, it will be generated. This header and value will be included in all loglines including access logs. It will also be propagated to downstream services and returned in the response. default: null
X-Request-ID (optional)
Header Parameter — The unique for the request, used to track this request within the service. X-Request-ID value is NOT propagated to the downstream services. default: null
Return type
Example data
Content-Type: application/json
{
"accessKeyId" : "846ee567-7806-403a-97b6-6cf0b6ffa897",
"accessKeySecret" : "KuMvTQrdHVVKuMDDdcIvTQrdci1FWdcIHVVci1FW",
"clientId" : "uIkGzYShLKtQQAimXzvV",
"accessKeyHrn" : "hrn:here:account::myrealm:accesskey/846ee567-7806-403a-97b6-6cf0b6ffa897",
"clientHrn" : "hrn:here:account::myrealm:app/uIkGzYShLKtQQAimXzvV",
"createdTime" : 1545041748000,
"tokenEndpointUrl" : "https://account.api.here.com/oauth2/token",
"enabled" : true
}
Produces
This API call produces the following media types according to the request header; the media type will be conveyed by the response header.
application/json
text/plain
Responses
200
OK
CreateAccessKeyResponse 401
Access is denied due to invalid credentials
ErrorResponse 403
You do not have permission to perform this action
ErrorResponse 404
The requested resource was not found, see error response for details
ErrorResponse
Up delete /apps/{app}/accessKeys/{accessKey}
Delete Access Key (deleteAccessKey)
Delete the requested access key for the requested application.
Path parameters
app (required)
Path Parameter — HRN identifying the application. default: null
accessKey (required)
Path Parameter — HRN identifying the access key. default: null
Request headers
Authorization (required)
Header Parameter — The OAuth2 bearer token used to authorize the request. The token should be supplied in the format 'Bearer [token]'. Access token can be obtained via
Get Access Token API default: null
X-Correlation-ID (optional)
Header Parameter — Correlates HTTP requests between a client and server. If not present in the incoming request, it will be generated. This header and value will be included in all loglines including access logs. It will also be propagated to downstream services and returned in the response. default: null
X-Request-ID (optional)
Header Parameter — The unique for the request, used to track this request within the service. X-Request-ID value is NOT propagated to the downstream services. default: null
Produces
This API call produces the following media types according to the request header; the media type will be conveyed by the response header.
Responses
204
No Content
401
Access is denied due to invalid credentials
ErrorResponse 403
You do not have permission to perform this action
ErrorResponse 404
The requested resource was not found, see error response for details
ErrorResponse
Up post /apps/{app}/accessKeys/{accessKey}/disable
Disable Access Key (disableAccessKey)
Disable the requested access key for the given application.
Path parameters
app (required)
Path Parameter — HRN identifying the application. default: null
accessKey (required)
Path Parameter — HRN identifying the access key. default: null
Request headers
Authorization (required)
Header Parameter — The OAuth2 bearer token used to authorize the request. The token should be supplied in the format 'Bearer [token]'. Access token can be obtained via
Get Access Token API default: null
X-Correlation-ID (optional)
Header Parameter — Correlates HTTP requests between a client and server. If not present in the incoming request, it will be generated. This header and value will be included in all loglines including access logs. It will also be propagated to downstream services and returned in the response. default: null
X-Request-ID (optional)
Header Parameter — The unique for the request, used to track this request within the service. X-Request-ID value is NOT propagated to the downstream services. default: null
Produces
This API call produces the following media types according to the request header; the media type will be conveyed by the response header.
Responses
204
No Content
401
Access is denied due to invalid credentials
ErrorResponse 403
You do not have permission to perform this action
ErrorResponse 404
The requested resource was not found, see error response for details
ErrorResponse
Up post /apps/{app}/accessKeys/{accessKey}/enable
Enable Access Key (enableAccessKey)
Enable the requested access key for the given application.
Path parameters
app (required)
Path Parameter — HRN identifying the application. default: null
accessKey (required)
Path Parameter — HRN identifying the access key. default: null
Request headers
Authorization (required)
Header Parameter — The OAuth2 bearer token used to authorize the request. The token should be supplied in the format 'Bearer [token]'. Access token can be obtained via
Get Access Token API default: null
X-Correlation-ID (optional)
Header Parameter — Correlates HTTP requests between a client and server. If not present in the incoming request, it will be generated. This header and value will be included in all loglines including access logs. It will also be propagated to downstream services and returned in the response. default: null
X-Request-ID (optional)
Header Parameter — The unique for the request, used to track this request within the service. X-Request-ID value is NOT propagated to the downstream services. default: null
Produces
This API call produces the following media types according to the request header; the media type will be conveyed by the response header.
Responses
204
No Content
401
Access is denied due to invalid credentials
ErrorResponse 403
You do not have permission to perform this action
ErrorResponse 404
The requested resource was not found, see error response for details
ErrorResponse
Up get /apps/{app}/accessKeys
Get Access Keys (getAccessKeys)
Retrieve the list of access keys associated with the requested application.
Path parameters
app (required)
Path Parameter — HRN identifying the application. default: null
Request headers
Authorization (required)
Header Parameter — The OAuth2 bearer token used to authorize the request. The token should be supplied in the format 'Bearer [token]'. Access token can be obtained via
Get Access Token API default: null
X-Correlation-ID (optional)
Header Parameter — Correlates HTTP requests between a client and server. If not present in the incoming request, it will be generated. This header and value will be included in all loglines including access logs. It will also be propagated to downstream services and returned in the response. default: null
X-Request-ID (optional)
Header Parameter — The unique for the request, used to track this request within the service. X-Request-ID value is NOT propagated to the downstream services. default: null
Query parameters
limit (optional)
Query Parameter — Number of records to return. Default is 100 records. Maximum is 100 records. default: 100
pageToken (optional)
Query Parameter —
If there are more records than 'limit' (between 1 and 100), and there are multiple pages of records, 'pageToken' allows for retrieval of individual pages. In order to retrieve subsequent pages, the client should provide the pageToken returned in the result from the previous API call as input to the following API call.
Example: If the result for a call to GET /items returns {..., "pageToken": "abcdefg"}, in order to retrieve the next page of 'items' the client should call GET /items?pageToken=abcdefg
default: null
Return type
Example data
Content-Type: application/json
null
Produces
This API call produces the following media types according to the request header; the media type will be conveyed by the response header.
Responses
200
OK
AccessKeyPageWithToken 401
Access is denied due to invalid credentials
ErrorResponse 403
You do not have permission to perform this action
ErrorResponse 404
The requested resource was not found, see error response for details
ErrorResponse
Create Application (createApplication)
Creates a new application.
- The application will be created in the same realm the calling identity belongs to. This information is obtained from the Access Token.
- The identity creating the app will be granted permission to 'manage' and delegate application management ('share').
Consumes
This API call consumes the following media types via the request header:
Request body
Request headers
Authorization (required)
Header Parameter — The OAuth2 bearer token used to authorize the request. The token should be supplied in the format 'Bearer [token]'. Access token can be obtained via
Get Access Token API default: null
X-Correlation-ID (optional)
Header Parameter — Correlates HTTP requests between a client and server. If not present in the incoming request, it will be generated. This header and value will be included in all loglines including access logs. It will also be propagated to downstream services and returned in the response. default: null
X-Request-ID (optional)
Header Parameter — The unique for the request, used to track this request within the service. X-Request-ID value is NOT propagated to the downstream services. default: null
Return type
Example data
Content-Type: application/json
{
"hrn" : "hrn:here:account::myrealm:app/0123456789ABCDEFGHHIJKLM",
"name" : "Some Application",
"description" : "Application for doing something.",
"createdTime" : 1432216394712,
"realm" : "myrealm",
"id" : "0123456789ABCDEFGHHIJKLM",
"status" : "active"
}
Produces
This API call produces the following media types according to the request header; the media type will be conveyed by the response header.
Responses
200
OK
AppInfo 400
Invalid input provided, see error response for details
ErrorResponse 401
Access is denied due to invalid credentials
ErrorResponse 403
You do not have permission to perform this action
ErrorResponse
Delete Application (deleteApplication)
Delete the application identified by the provided hrn.
Path parameters
app (required)
Path Parameter — HRN identifying the application. default: null
Request headers
Authorization (required)
Header Parameter — The OAuth2 bearer token used to authorize the request. The token should be supplied in the format 'Bearer [token]'. Access token can be obtained via
Get Access Token API default: null
X-Correlation-ID (optional)
Header Parameter — Correlates HTTP requests between a client and server. If not present in the incoming request, it will be generated. This header and value will be included in all loglines including access logs. It will also be propagated to downstream services and returned in the response. default: null
X-Request-ID (optional)
Header Parameter — The unique for the request, used to track this request within the service. X-Request-ID value is NOT propagated to the downstream services. default: null
Produces
This API call produces the following media types according to the request header; the media type will be conveyed by the response header.
Responses
204
No Content
401
Access is denied due to invalid credentials
ErrorResponse 403
You do not have permission to perform this action
ErrorResponse 404
The requested resource was not found, see error response for details
ErrorResponse
Get Application (getApplication)
Retrieve the application identified by the provided hrn.
Path parameters
app (required)
Path Parameter — HRN identifying the application. default: null
Request headers
Authorization (required)
Header Parameter — The OAuth2 bearer token used to authorize the request. The token should be supplied in the format 'Bearer [token]'. Access token can be obtained via
Get Access Token API default: null
X-Correlation-ID (optional)
Header Parameter — Correlates HTTP requests between a client and server. If not present in the incoming request, it will be generated. This header and value will be included in all loglines including access logs. It will also be propagated to downstream services and returned in the response. default: null
X-Request-ID (optional)
Header Parameter — The unique for the request, used to track this request within the service. X-Request-ID value is NOT propagated to the downstream services. default: null
Return type
Example data
Content-Type: application/json
{
"hrn" : "hrn:here:account::myrealm:app/0123456789ABCDEFGHHIJKLM",
"name" : "Some Application",
"description" : "Application for doing something.",
"createdTime" : 1432216394712,
"realm" : "myrealm",
"id" : "0123456789ABCDEFGHHIJKLM",
"status" : "active"
}
Produces
This API call produces the following media types according to the request header; the media type will be conveyed by the response header.
Responses
200
OK
AppInfo 401
Access is denied due to invalid credentials
ErrorResponse 403
You do not have permission to perform this action
ErrorResponse 404
The requested resource was not found, see error response for details
ErrorResponse
Get Applications (listApplications)
List applications managed by the caller.
Request headers
Authorization (required)
Header Parameter — The OAuth2 bearer token used to authorize the request. The token should be supplied in the format 'Bearer [token]'. Access token can be obtained via
Get Access Token API default: null
X-Correlation-ID (optional)
Header Parameter — Correlates HTTP requests between a client and server. If not present in the incoming request, it will be generated. This header and value will be included in all loglines including access logs. It will also be propagated to downstream services and returned in the response. default: null
X-Request-ID (optional)
Header Parameter — The unique for the request, used to track this request within the service. X-Request-ID value is NOT propagated to the downstream services. default: null
Query parameters
limit (optional)
Query Parameter — Number of records to return. Default is 100 records. Maximum is 100 records. default: 100
pageToken (optional)
Query Parameter —
If there are more records than 'limit' (between 1 and 100), and there are multiple pages of records, 'pageToken' allows for retrieval of individual pages. In order to retrieve subsequent pages, the client should provide the pageToken returned in the result from the previous API call as input to the following API call.
Example: If the result for a call to GET /items returns {..., "pageToken": "abcdefg"}, in order to retrieve the next page of 'items' the client should call GET /items?pageToken=abcdefg
default: null
Return type
Example data
Content-Type: application/json
null
Produces
This API call produces the following media types according to the request header; the media type will be conveyed by the response header.
Responses
200
OK
AppPageWithToken 401
Access is denied due to invalid credentials
ErrorResponse 403
You do not have permission to perform this action
ErrorResponse
Update Application (updateApplication)
Update the application identified by the provided hrn.
Path parameters
app (required)
Path Parameter — HRN identifying the application. default: null
Consumes
This API call consumes the following media types via the request header:
Request body
Request headers
Authorization (required)
Header Parameter — The OAuth2 bearer token used to authorize the request. The token should be supplied in the format 'Bearer [token]'. Access token can be obtained via
Get Access Token API default: null
X-Correlation-ID (optional)
Header Parameter — Correlates HTTP requests between a client and server. If not present in the incoming request, it will be generated. This header and value will be included in all loglines including access logs. It will also be propagated to downstream services and returned in the response. default: null
X-Request-ID (optional)
Header Parameter — The unique for the request, used to track this request within the service. X-Request-ID value is NOT propagated to the downstream services. default: null
Return type
Example data
Content-Type: application/json
{
"hrn" : "hrn:here:account::myrealm:app/0123456789ABCDEFGHHIJKLM",
"name" : "Some Application",
"description" : "Application for doing something.",
"createdTime" : 1432216394712,
"realm" : "myrealm",
"id" : "0123456789ABCDEFGHHIJKLM",
"status" : "active"
}
Produces
This API call produces the following media types according to the request header; the media type will be conveyed by the response header.
Responses
200
OK
AppInfo 400
Invalid input provided, see error response for details
ErrorResponse 401
Access is denied due to invalid credentials
ErrorResponse 403
You do not have permission to perform this action
ErrorResponse 404
The requested resource was not found, see error response for details
ErrorResponse
[ Jump to
Methods ]
Table of Contents
APIKeyGenerateRequest
- APIKeyUpdateRequest
- AccessKey
- AccessKeyPageWithToken
- AccessKeyPageWithToken_allOf
- ApiKey
- ApiKeyPageWToken
- ApiKeyPageWToken_allOf
- AppInfo
- AppPageWithToken
- AppPageWithToken_allOf
- CreateAccessKeyResponse
- CreateAppRequest
- ErrorDetail
- ErrorResponse
- PageWithToken
- PatchAppRequest
- Status
-
name
String Creator-defined name or short description for the API key.
expiresAt (optional)
Long Timestamp (milliseconds since the Unix epoch) of when the API key will expire. If expiresAt is not provided on creation, it will default to '-1', i.e. API key does NOT expire format: int64
enabled (optional)
Boolean Whether API key is enabled or disabled.
name (optional)
String Creator-defined name or short description for the API key.
expiresAt (optional)
Long Timestamp (milliseconds since the Unix epoch) of when the API key will expire. If expiresAt is not provided on creation, it will default to '-1', i.e. API key does NOT expire format: int64
accessKeyId (optional)
accessKeyHrn (optional)
clientId (optional)
clientHrn (optional)
enabled (optional)
createdTime (optional)
lastTimeUsed (optional)
Long The timestamp that this Access Key was last used within one minute precision. format: int64
limit
Integer number of entries in the response.
pageToken (optional)
String The cursor for pagination. Present only if there is an additional page of data to view.
total
Integer The number of federations matching the search criteria.
items
apiKeyId (optional)
String Plaintext query string argument used to authenticate requests to HERE Services using this API Key.
apiKey (optional)
String HRN with obfuscated apiKeyId.
identity (optional)
String HRN identifying an identity to which this API key associated with.
realm (optional)
String The HRN of the realm of API key.
name (optional)
String Creator-defined name or short description for the API key.
enabled (optional)
Boolean Whether API key is enabled or disabled.
createdTime (optional)
Long Timestamp (milliseconds since the Unix epoch) of when the API key was created. format: int64
expiresAt (optional)
Long Timestamp (milliseconds since the Unix epoch) of when the API key will expire. If expiresAt is not provided on creation, it will default to '-1', i.e. API key does NOT expire format: int64
limit
Integer number of entries in the response.
pageToken (optional)
String The cursor for pagination. Present only if there is an additional page of data to view.
total
Integer The number of federations matching the search criteria.
items
id (optional)
String Identifier for the client/application.
hrn (optional)
String HRN for the client/application.
realm (optional)
String The realm to which the app belongs.
name (optional)
String Human readable name of the client.
description (optional)
String Prose description of the client.
status (optional)
createdTime (optional)
Long Timestamp (milliseconds since the Unix epoch) of when the app was created. format: int64
limit
Integer number of entries in the response.
pageToken (optional)
String The cursor for pagination. Present only if there is an additional page of data to view.
total
Integer The number of federations matching the search criteria.
items
accessKeyId (optional)
accessKeyHrn (optional)
accessKeySecret (optional)
clientId (optional)
clientHrn (optional)
tokenEndpointUrl (optional)
enabled (optional)
createdTime (optional)
name
String Human readable name of the client. This field is required unless a clientId is provided.
description (optional)
String Prose description of the client
tokenDuration (optional)
Integer Default duration in seconds for the token issued to this application. It has be a non-zero value, less than or equal to 24 hours (86400) or the max allowed for the realm via the realm setting.
title (optional)
source (optional)
message (optional)
messageTemplate (optional)
String Optional error template
messagePlaceholders (optional)
title
errorId
String Unique id for the error. This is searchable from HERE Account logs.
status
code
String Service specific error code
cause
action
String Actionable instructions for the API consumer
correlationId (optional)
String Trace ID associated with this request, for future use
details (optional)
limit
Integer number of entries in the response.
pageToken (optional)
String The cursor for pagination. Present only if there is an additional page of data to view.
total
Integer The number of federations matching the search criteria.
name
String Human readable name of the client. This field is required unless a clientId is provided.
description (optional)
String Prose description of the client
tokenDuration (optional)
Integer Default duration in seconds for the token issued to this application. It has be a non-zero value, less than or equal to 24 hours (86400) or the max allowed for the realm via the realm setting.
Status of the application.