Update a profile
Updates an existing profile and returns it with updated variant selections. The organizationId is the Client ID from Settings → SDK Keys → Optimization.
Path parameters
environmentSlug
The slug of the environment of the profile to retrieve
organizationId
The ID of the organization of the profile to retrieve
profileId
The ID of the profile to retrieve
Query parameters
locale
An ISO 639-1 language code used for experience evaluation.
type
Set to preflight to evaluate experiences without persisting state. Useful for SSR/ESR.
Allowed values:
Request
This endpoint expects an object.
Response
Successful response
Errors
400
Bad Request Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error