[{"label":"Latest (v1)","version":"latest"}]
vrealize-log-insight-cloud-service

Create Access Key

Description

You must create and apply an API key to your log source when you send logs or messages through a HTTP POST operation

Request

Request

URL

URL


post
https://{api_host}/vrlic/api/v1/resources/access-keys
Copy

Request Body

Request Body

AccessKeyRequest of mimetype application/json Required
{
	"name": "string"
}
string
name Required

Access key name

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns AccessKey of type */*
{
	"createdBy": "string",
	"key": "string",
	"link": "string",
	"name": "string",
	"orgId": "string",
	"status": "ACTIVE",
	"updatedAtInMicros": 0,
	"version": 0
}
string
createdBy Optional

Email of user who created this access key


string
key Optional

Access key


string
link Optional

Access key link


string
name Optional

Access key name


string
orgId Optional

Unique OrgId based on user token


string
status Optional

Access key status

Possible values are: ACTIVEREVOKED


integer as int64
updatedAtInMicros Optional

Time in micros at which access key was updated


integer as int64
version Optional

Access key version

No error details were provided in the OpenAPI specification.

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"name":"string"}' https://{api_host}/vrlic/api/v1/resources/access-keys


[{"label":"Latest (v1)","version":"latest"}]
vrealize-log-insight-cloud-service
Feedback

Was this page helpful?