Stimuli

Delete one metadata attribute

Remove a single attribute from a stimulus's metadata, along with anything nested under it.

delete/api/v1/stimuli/{stimulus_id}/metadata/{key}

Request

  • Base URL
    https://app.voicepanel.com
  • URL
    https://app.voicepanel.com/api/v1/stimuli/{stimulus_id}/metadata/{key}
  • Auth
    HTTP bearer

Path parameters

stimulus_idstring required
Example:stim_3nK8xQw2PzLr7Y

The stimulus ID

keystring required
Example:cost

The metadata key

Response

Successful response

idstring required

The stimulus ID

study_idstring nullable required

ID of the study the stimulus belongs to

metadataobject required

Flat attributes. A key maps to a string, a number, a boolean, or a list of strings and numbers.

Example response

{
  "id": "stim_3nK8xQw2PzLr7Y",
  "study_id": "stdy_Qm3vR8tLp2XnWz",
  "metadata": {
    "cost": "low",
    "pricing.tier": "pro",
    "variant": 2
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.