Delete a custom profile field by name

DELETE /api/custom-profile-fields/{name}

Delete a custom profile field by name.

Path parameters

  • name string Required

    Minimum length is 1.

Responses

  • 204

    Custom profile field deleted successfully.

  • 400

    Bad Request

  • 401

    Unauthorized

  • 403

    Forbidden

  • 404

    Not Found

DELETE /api/custom-profile-fields/{name}
curl \
 --request DELETE 'https://[tenant_id].logto.app/api/custom-profile-fields/{name}' \
 --header "Authorization: Bearer $ACCESS_TOKEN"