Create Access Key
You must create and apply an API key to your log source when you send logs or messages through a HTTP POST operation
Request
URI
POST
https://{api_host}//vrlic/api/v1/resources/access-keys
COPY
Request Body
AccessKeyRequest of type(s) application/json
Required
{
"name": "test-api-access-key",
"tags": {
"key": "value"
}
}
string
name
Required
Access key name
object
tags
Optional
Tags associated with the api
Responses
200
OK
Returns AccessKey of type(s) */*
{
"name": "test-api-access-key",
"key": "9KHY8TiNHOCmqTMkiCH55TwSdotS5",
"orgId": "902932c-1274-4495-b7f5-a647f3c0908",
"status": "ACTIVE",
"link": "/vrlic/api/v1/resources/access-keys/902932c-1274-4495-b7f5-a647f3c0908-test-api-access-key",
"version": 1,
"createdBy": "test@gamil.com",
"updatedAtInMicros": 1675332036007000,
"customProperties": {
"key": "value"
}
}
string
name
Optional
Access key name
string
key
Optional
Access key
string
orgId
Optional
Unique OrgId based on user token
string
status
Optional
Access key status
Possible values are : ACTIVE, REVOKED,
string
link
Optional
Access key link
integer As int64 As int64
version
Optional
Access key version
integer As int64 As int64
updatedAtInMicros
Optional
Time in micros at which access key was updated
object
customProperties
Optional
Custom properties defined with an api key
Access Keys Operations
POST
Create Access Key
DELETE
Delete Access Key
GET
Get Access Key
PATCH
Patch Access Key