apiKey
or x-api-key
, as in these examples:
GET
, POST
, and DELETE
HTTP requests to manage your API keys. The following examples use an API key to authenticate. To use an API key in an API request, use the x-api-key
HTTP request header.
POST
HTTP request to create a new API key. Assign the appropriate roles to give the API key the correct permissions for your search application.
key
field is the API key.GET
HTTP request to view all API keys.
The API key values are not included in the response. You can only access API keys at the time of creation.
Request
GET
HTTP request to get the details of a specific API key. You must supply the ID of the API key as part of your request URL.
Request
DELETE
HTTP request to delete a specific API key. You must supply the ID of the API key as part of your request.
The request returns an HTTP 200 OK
status code when the API key is successfully deleted.
Request
401 Unauthorized
status code:
POST
HTTP request.
This cannot be done in the Fusion UI.
Request