Get all environment SDK keys
Get all SDK keys for a given project and environment. Can filter by kind.
Authorization
ApiKey read, writeIn: header
Scope: read, write
Path Parameters
Query Parameters
A filter to apply to the list of SDK keys. Supports the following fields and operators: kind (equals "sdk" or "mobile"), active (equals true or false). Format: field:value. Example: kind:sdk.
The number of SDK keys to return. Defaults to 20. Maximum is 100.
The number of SDK keys to skip. Used for pagination.
A sort to apply to the list of SDK keys. Supported field: createdAt. Prefix the field with - to sort in descending order (for example, -createdAt).
Value in
- "createdAt"
- "-createdAt"
Header Parameters
Version of the endpoint.
Value in
- "beta"
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v2/projects/default/environments/production/sdk-keys" \ -H "LD-API-Version: beta"{ "_links": { "self": { "href": "href", "type": "type" } }, "totalCount": 5, "items": [ { "isDefault": true, "_links": { "parent": { "href": "href", "type": "type" }, "self": { "href": "href", "type": "type" } }, "kind": "sdk", "_createdAt": 6, "name": "name", "description": "description", "expiry": 0, "value": "value", "_updatedAt": 1, "_version": 5, "key": "key", "_createdByMemberId": "_createdByMemberId" }, { "isDefault": true, "_links": { "parent": { "href": "href", "type": "type" }, "self": { "href": "href", "type": "type" } }, "kind": "sdk", "_createdAt": 6, "name": "name", "description": "description", "expiry": 0, "value": "value", "_updatedAt": 1, "_version": 5, "key": "key", "_createdByMemberId": "_createdByMemberId" } ]}Get all project SDK keys GET
Get all SDK keys for a given project across environments.
Create SDK key POST
Create a new server-side or mobile SDK key. Deleted SDK keys are retained for 180 days. During that period you cannot reuse the `key` of a deleted SDK key, even though the deleted key no longer appears in the list of SDK keys for the environment.