cURL
curl --request PATCH \ --url https://statsigapi.net/console/v1/prompts/{id} \ --header 'Content-Type: application/json' \ --header 'STATSIG-API-KEY: <api-key>' \ --data '{ "description": "<string>", "targetApps": "<string>", "team": "<string>", "teamID": "<string>" }'
{ "message": "<string>", "data": { "id": "<string>", "name": "<string>", "idType": "<string>", "description": "<string>", "lastModifierID": "<string>", "lastModifiedTime": 123, "lastModifierEmail": "<string>", "lastModifierName": "<string>", "creatorID": "<string>", "createdTime": 123, "creatorName": "<string>", "creatorEmail": "<string>", "tags": [ "<string>" ], "targetApps": [ "<string>" ], "holdoutIDs": [ "<string>" ], "team": "<string>", "teamID": "<string>", "version": 123 } }
Optional header to respect review settings for mutation endpoints.
id
Updated description.
1000
Updated list of target app names.
Updated team name.
Updated team ID.
Update Prompt Response
A simple string explaining the result of the operation.
A single result.
Show child attributes
Was this page helpful?