Skip to main content
PATCH

Authorizations

Authorization
string
header
required

API key authentication. Format: Bearer wsk_your_api_key

Body

application/json
promptId
string
required

Prompt ID to update

prompt
string

New prompt text

language
string

New language code (e.g., 'en', 'fr', 'de')

geolocation
string

New geolocation code (e.g., 'global', 'us', 'gb')

isActive
boolean

Set to false to pause tracking for this prompt, or true to re-activate it

Response

Prompt(s) updated successfully. Single mode returns the updated prompt; batch mode returns per-item results.

success
boolean
prompt
object