/api/role/

Get role info

GET https://cloud.daneeskripter.dev/api/role

Query Parameters

NameTypeDescription

name*

String

Name of role

Headers

NameTypeDescription

API-Key*

Auth

API key for authentication

Get all roles

GET https://cloud.daneeskripter.dev/api/role/all

Headers

NameTypeDescription

API-Key*

Auth

API key for authentication

Create a role

POST https://cloud.daneeskripter.dev/api/role/create

Query Parameters

NameTypeDescription

name*

String

Name of role

maxStorage*

Integer

Maximal amount of storage for role (in MB)

badge*

String

URL of badge

Headers

NameTypeDescription

API-Key*

Auth

API key for authentication

Delete a role

POST https://cloud.daneeskripter.dev/api/role/delete

Query Parameters

NameTypeDescription

name*

String

Name of role

Headers

NameTypeDescription

API-Key*

Auth

API key for authentication

Edit a role

POST https://cloud.daneeskripter.dev/api/role/edit

Query Parameters

NameTypeDescription

name*

String

Name of role

newname*

String

New name of role

maxStorage*

String

New amount of maxStorage

badge*

String

New URL of badge

Headers

NameTypeDescription

API-Key*

Auth

API key for authentication

Last updated