APISecret keys
List secret keys
List secret keys within the organization.
GET https://api.sazabi.com/v1/secret-keys
Query Parameters
organizationId?string
Organization whose keys the operation targets. User tokens must supply it unless the credential's fixed scope resolves it; secret keys may omit it (the key's organization applies).
Length
1 <= lengthlimit?integer
Maximum number of keys to return per page.
Range
1 <= value <= 100Default
50cursor?string
Cursor from a previous response's nextCursor to fetch the next page.
Format
uuidResponse Body
application/json
curl -X GET "https://example.com/secret-keys"{ "secretKeys": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "expiresAt": "2019-08-24T14:15:22Z", "lastUsedAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8" } ], "nextCursor": "53a4a333-2825-45a4-80d2-5f430d088f36"}