Last updated 7 months ago
Upload policy data. Only users with the Standard Registry role are allowed to make the request.
Policy data file
Uploaded policy.
const response = await fetch('/api/v1/policies/data', { method: 'POST', headers: { "Authorization": "Bearer JWT", "Content-Type": "application/json" }, body: JSON.stringify("binary"), }); const data = await response.json();
{ "code": 0, "message": "text" }