Geek Social — Documentação
API ReferenceCollections

DELETE /collections/{id}/schema/{entryId}

Remover field do schema da coleção

DELETE/collections/{id}/schema/{entryId}Auth: accessToken

DELETE em collection_field_schema. Itens existentes preservam seus valores no JSONB; só some da UI.

Request

Esta requisição não tem corpo.

Response

204

object

Erros

Sem respostas de erro documentadas.

Exemplos

curl -X DELETE 'http://localhost:3003/collections/{id}/schema/{entryId}' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer SEU_ACCESS_TOKEN' \
  -d '{}'
await fetch('http://localhost:3003/collections/{id}/schema/{entryId}', {
  method: 'DELETE',
  headers: {
    'Content-Type': 'application/json',
    Authorization: 'Bearer ' + accessToken,
  },
  body: JSON.stringify({}),
})

Side effects

Relacionados

On this page