goals

Deletar uma meta

Remove a meta por soft delete: ela sai das listagens e só reaparece com filter[trashed], deixa de ser considerada nas metas compostas que a incluíam e seus resultados já apurados ficam inacessíveis, embora não sejam apagados. Não existe endpoint para restaurar uma meta removida.

delete/api/management/goals/{goal}

Response

Meta removida

{"stackTrail":"paths:/api/management/goals/{goal}:delete:responses:204:content:application/json:schema","oasType":"schema","type":"unknown","description":"Resposta sem corpo (HTTP 204).","nullable":true}

Changes

Changed in 2 of the 98 revisions of this API.312

  • d71b18b1685d21See the full diff
    • ▲

      the response's body became nullable

      response-body-became-nullable

    • ▲

      the response's body type changed from object to no type for status

      response-body-type-changed

    • ●

      added the new goal_model_not_found enum value to the response property for the response status

      response-property-enum-value-added

  • 3202abfa17f912See the full diff
    • ▲

      removed the success response with the status

      response-success-status-removed

    • ○

      added the non-success response with the status

      response-non-success-status-added

    • ○

      added the success response with the status

      response-success-status-added