{ "opencollection": "1.0.0", "info": { "name": "Zesty Accounts Apps Roles API", "version": "1.0.0" }, "items": [ { "info": { "name": "Roles", "type": "folder" }, "items": [ { "info": { "name": "Zesty List all roles", "type": "http" }, "http": { "method": "GET", "url": "https://accounts.api.zesty.io/v1/roles", "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Returns a list of all roles available in the account." }, { "info": { "name": "Zesty Create a new role", "type": "http" }, "http": { "method": "POST", "url": "https://accounts.api.zesty.io/v1/roles", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Creates a new role with specified permissions." }, { "info": { "name": "Zesty Get a role", "type": "http" }, "http": { "method": "GET", "url": "https://accounts.api.zesty.io/v1/roles/:roleZUID", "params": [ { "name": "roleZUID", "value": "", "type": "path", "description": "The ZUID of the role." } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Returns details for a specific role by its ZUID." }, { "info": { "name": "Zesty Update a role", "type": "http" }, "http": { "method": "PUT", "url": "https://accounts.api.zesty.io/v1/roles/:roleZUID", "params": [ { "name": "roleZUID", "value": "", "type": "path", "description": "The ZUID of the role." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Updates the details of a specific role." }, { "info": { "name": "Zesty Delete a role", "type": "http" }, "http": { "method": "DELETE", "url": "https://accounts.api.zesty.io/v1/roles/:roleZUID", "params": [ { "name": "roleZUID", "value": "", "type": "path", "description": "The ZUID of the role." } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Deletes a specific role." } ] } ], "bundled": true }