Check a cloud account
Tries the access the way a read would: assumes the AWS role, or
signs in and finds the marked subscriptions or projects. The answer
is 200 either way: {"ok": true, "account_id": "…"} or
{"ok": false, "error": "…"} with what the cloud said.
Requires the identity:cloudaccount:write scope.
Authorization
Parameters
Path parameters
idstring requiredThe cloud account's ID.
Responses
200
What the cloud answered.
dataobjectokboolean requiredaccount_idstringerrorstring
401
No API key was sent, or it is unknown, revoked or expired (UNAUTHORIZED).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
403
The key lacks a scope this endpoint needs (FORBIDDEN).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
404
Nothing with this ID (or slug) exists in the organization (NOT_FOUND).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
429
Too many requests (RATE_LIMITED). Wait for Retry-After seconds.
Retry-AfterintegerSeconds to wait before retrying.
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
500
Something went wrong on EvoHub's side (INTERNAL_ERROR). Retry later.
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
503
Cloud accounts for this provider cannot be connected on this EvoHub (CLOUD_NOT_CONFIGURED).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
Example request
curl -X POST 'https://evohub.io/api/v1/catalog/connections/con_7d9f1b3a5c7e9a2c4e6b8d0f2a4c6e8b/check' \
-H 'Authorization: Bearer <TOKEN>'
