Set the default location
Changed onChange an existing project's default location: the app's Knowledge Base Location. Send the country, plus a state or city where it matters, the same way project creation takes them; a country alone makes the whole country the default. The state or city is looked up and the place found is saved, never the text sent (austin with state: "TX" is saved as Austin, Texas). A state or city that can't be placed changes nothing: 400 location_not_placed for one that isn't recognised or a US city found in more than one state without its state, 503 location_lookup_failed when the lookup is unavailable. Tracked prompts that use the default move to the new place from their next run, and so do prompts whose only location is the old default; prompts with any other location keep them. Answers already collected stay under the place they were collected for. dryRun: true previews the change without making it. Needs the Member role and the knowledge:manage capability. A pitch project that is not currently active refuses with 409 INACTIVE_PITCH_PROMPT_MUTATION.
Request
- Base URLhttps://app.searchable.com
- AuthHTTP bearer
Path parameters
The project id.
Request body
Response
The default location was changed, or would be on a dry run.
Changes
- info
endpoint added
- info