Create a consent

Create a consent

This endpoint creates a new consent.

POSThttps://apione.zwapgrid.com/consents//api/v1/consents
Header parameters
Body
name*string
Response

The consent was created.

Request
const response = await fetch('https://apione.zwapgrid.com/consents//api/v1/consents', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "name": "text"
    }),
});
const data = await response.json();

Last updated