[{"label":"Latest (v1)","version":"latest"}]
vmware-aria-operations-for-logs
Create Access Key
DescriptionYou must create and apply an API key to your log source when you send logs or messages through a HTTP POST operation
Request
URLURL
https://{api_host}/vrlic/api/v1/resources/access-keys
Request Body
Request Body
AccessKeyRequest
of mimetype application/json
Required
{
"name": "string"
}
string
name
Required
Access key name
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
AccessKey
of type */*
{
"key": "string",
"link": "string",
"name": "string",
"orgId": "string",
"status": "ACTIVE",
"updatedAtInMicros": 0,
"version": 0
}
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: ACTIVE , REVOKED
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 SamplesCode 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"}]
vmware-aria-operations-for-logs