S D K Keys (beta)
Get SDK key
Get a specific SDK key by its key.
Authorization
ApiKey read, writeAuthorization<token>
In: header
Scope: read, write
Path Parameters
projectKey*string
environmentKey*string
sdkKeyKey*string
The user-defined identifying key of the SDK key. This is used solely to identify an SDK key and is distinct from the value field, which is the actual SDK key value.
Header Parameters
LD-API-Version*"beta"
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/my-sdk-key" \ -H "LD-API-Version: beta"{ "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"}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.
Update SDK key PATCH
Update a an existing SDK key by its identifying key.