Create SDK key
Create a new server-side or mobile SDK key.
Authentication
Authorizationstring
API Key authentication via header
Path parameters
projectKey
environmentKey
Headers
LD-API-Version
Version of the endpoint.
Allowed values:
Request
Parameters for creating a new SDK key
key
The user-defined key of the SDK key.
name
The human-readable name of the SDK key.
kind
The kind of SDK key. Can be either “sdk” (server-side) or “mobile” (mobile). Defaults to “sdk” when not explicitly defined.
description
The optional description of the SDK key.
expiry
Response
SDK key created
kind
The kind of SDK key. Can be either “sdk” (server-side) or “mobile” (mobile).
key
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.
name
The human-readable name of the SDK key.
value
The string value of the SDK key. Use this when configuring your SDK.
isDefault
Indicates if this SDK key is the system-defined default for the environment. There may also be an expiring default SDK key for the environment (not possible with mobile keys).
_createdAt
_updatedAt
_version
The auto-incremented version number of the SDK key.
_links
The location and content type of related resources
description
The optional description of the SDK key.
expiry
_createdByMemberId
The ID of the member who created the SDK key. This field is immutable.
viewSummaries
Summaries of views associated with the SDK key.
Errors
400
Bad Request Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
500
Internal Server Error