User Management

Introduction

With Audiostack, you can effortlessly manage user roles and permissions, allowing you to grant or restrict access to specific features and content. We'll guide you through the process of creating and managing user accounts, configuring permissions, and establishing user groups to tailor Audiostack to your organization's unique requirements.

Furthermore, you'll discover how Audiostack's intuitive interface empowers you to organize and categorize your audio assets effectively.

Assuming Roles

One problem you might have is that you might need to assume ChildOrganisations.

var myHeaders = new Headers();
myHeaders.append("x-assume-org", "ORGANISATION");
myHeaders.append("x-api-key", "APIKEY");

var requestOptions = {
  method: 'GET',
  headers: myHeaders,
  redirect: 'follow'
};

fetch("https://v2.api.audio/org", requestOptions)
  .then(response => response.text())
  .then(result => console.log(result))
  .catch(error => console.log('error', error));
import requests

url = "https://v2.api.audio/org"

payload = {}
headers = {
  'x-assume-org': 'ORGANISATION',
  'x-api-key': 'APIKEY'
}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)

In both of these code examples you'll need to replace the ORGANISATION and APIKEY - this will let you assume the role of that child organisation.

  • You can use organisations to separate private data - for example if you're an agency you may want your individual brand customers to all be in separate child orgs.