IAM API

Your API keys

The key’s own person: who they are in Cloud, and their keys. Keys are made in Yet — Preferences → API keys — never with another key: a key that could make keys would outlive its own revocation, were it leaked.

Base URL https://cloud.yet.com.br/v1

Who the key is

GET/v1/me

Its person, their company, and their role in Cloud — everywhere, and by environment.

Request
curl https://cloud.yet.com.br/v1/me \
  -H "Authorization: Bearer $YET_API_KEY"
Response · 200
{
  "email": "ana@acme.dev",
  "workspace": "acme",
  "role": "admin",
  "admin": true,
  "roles": {
    "*": "admin"
  }
}

List your keys

GET/v1/keys

The person’s own keys; only each one’s first characters are kept.

Request
curl https://cloud.yet.com.br/v1/keys \
  -H "Authorization: Bearer $YET_API_KEY"
Response · 200
[
  {
    "id": "ky_01J9",
    "email": "ana@acme.dev",
    "name": "terraform",
    "prefix": "yet_acme_6bffe6",
    "created_at": "2026-10-23T12:00:00Z",
    "last_used_at": "2026-10-23T12:00:00Z"
  }
]

Revoke one of your keys

DELETE/v1/keys/{id}

It stops working at once.

Request
curl -X DELETE https://cloud.yet.com.br/v1/keys/{id} \
  -H "Authorization: Bearer $YET_API_KEY"
Response · 204 No Content