Skip to main content
GET
/
connections
/
{id}
/
lease-tokens
List active leases for a connection
curl --request GET \
  --url https://api.example.com/connections/{id}/lease-tokens \
  --header 'Authorization: Bearer <token>'
{
  "leases": [
    {
      "id": "<string>",
      "connection_id": "<string>",
      "tenant_id": "<string>",
      "capability_id": "<string>",
      "scopes": [
        "<string>"
      ],
      "expires_at": "<string>",
      "revoked_at": "<string>",
      "created_at": "<string>"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.myme.so/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Pass an API key (marfa_k1_...) or OAuth access token (marfa_at_...)

Path Parameters

id
string
required

Response

Active (non-revoked, non-expired) leases

leases
object[]
required