Access Control - Roles
Create
POST
/access-control/roles
const url = 'https://api.inspow.tech/api/v1/access-control/roles';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.inspow.tech/api/v1/access-control/roles \ --header 'Authorization: Bearer <token>'