curl --request GET \
--url https://api.honeycomb.io/2/teams/{teamSlug}/api-keys/{ID}{
"data": {
"id": "hcxik_12345678901234567890123456",
"type": "api-keys",
"attributes": {
"key_type": "ingest",
"name": "us-west-2 collectors key",
"disabled": false,
"permissions": {
"create_datasets": false
},
"timestamps": {
"created": "2022-09-22T17:32:11Z",
"updated": "2022-10-31T15:08:11Z"
}
},
"relationships": {
"environment": {
"data": {
"id": "hxenv_12345678901234567890123456",
"type": "environments"
}
},
"creator": {
"data": {
"id": "<string>",
"type": "users"
}
},
"editor": {
"data": {
"id": "<string>",
"type": "users"
}
}
},
"links": {
"self": "/2/teams/my-team/api-keys/hcxik_12345678901234567890123456"
}
}
}Fetches an environment API Key, either a key of type ingest or type configuration based on the
ID given.
curl --request GET \
--url https://api.honeycomb.io/2/teams/{teamSlug}/api-keys/{ID}{
"data": {
"id": "hcxik_12345678901234567890123456",
"type": "api-keys",
"attributes": {
"key_type": "ingest",
"name": "us-west-2 collectors key",
"disabled": false,
"permissions": {
"create_datasets": false
},
"timestamps": {
"created": "2022-09-22T17:32:11Z",
"updated": "2022-10-31T15:08:11Z"
}
},
"relationships": {
"environment": {
"data": {
"id": "hxenv_12345678901234567890123456",
"type": "environments"
}
},
"creator": {
"data": {
"id": "<string>",
"type": "users"
}
},
"editor": {
"data": {
"id": "<string>",
"type": "users"
}
}
},
"links": {
"self": "/2/teams/my-team/api-keys/hcxik_12345678901234567890123456"
}
}
}