Below is a list of the available APIs:
This endpoint allows you to query your API Keys.
GET /api-keys
This end point takes no parameters.
Example Request:
curl -H "Content-Type: application/vnd.api+json" \
-H "Authorization: ApiKey S1YnrbQuWagQS0MvbSchNHDO73XHqdAqH52RxEPGAggOYiXTxrwPfmiTNqQkTq3p" \
https://us-west-2-api.cloudconformity.com/v1/api-keys
Example Response:
{
"data": [
{
"type": "api-keys",
"id": "S1YnrbQuWagQ",
"attributes": {
"created-date": 1502971314320,
"status": "ENABLED",
"last-used-date": null
},
"relationships": {}
}
]
}
This endpoint allows you to query your API Keys.
GET /api-keys/id
id
: The ID of the API Key
Example Request:
curl -H "Content-Type: application/vnd.api+json" \
-H "Authorization: ApiKey S1YnrbQuWagQS0MvbSchNHDO73XHqdAqH52RxEPGAggOYiXTxrwPfmiTNqQkTq3p" \
https://us-west-2-api.cloudconformity.com/v1/api-keys/S1YnrbQuWagQ
Example Response:
{
"data": {
"type": "api-keys",
"id": "S1YnrbQuWagQ",
"attributes": {
"created-date": 1504064573955,
"status": "ENABLED",
"last-used-date": 1511140966607
},
"relationships": {}
}
}