Delete a custom FHIR profile

DELETE/fhir/profiles/{id}

Permanently deletes a custom profile by id.

RequiresBearerauthentication

Path parameters

idstringrequired

The lowercase StructureDefinition id of the custom profile.

Returns  

Profile successfully deleted

DELETERequest
# Get authentication token
PHENOML_TOKEN=$(curl -X POST "https://experiment.app.pheno.ml/v2/auth/token" \
  -u "$PHENOML_CLIENT_ID:$PHENOML_CLIENT_SECRET" \
  | jq -r '.access_token')

curl -X DELETE "https://experiment.app.pheno.ml/fhir/profiles/custom-patient" \
  -H "Authorization: Bearer $PHENOML_TOKEN"
204 No ContentExample Response
{}