/api/user/

API requests for user

Get user info

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

Query Parameters

Name
Type
Description

username*

String

Username of user

Headers

Name
Type
Description

API-Key*

Auth

API key for authentication

Get info about all users

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

Headers

Name
Type
Description

API-Key*

Auth

API key for authentication

Create a new user

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

Query Parameters

Name
Type
Description

username*

String

Username of new user

email*

String

Email of new user

password*

String

Password of new user

Headers

Name
Type
Description

API-Key*

Auth

API key for authentication

Delete user

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

Query Parameters

Name
Type
Description

username*

String

Username of user

Headers

Name
Type
Description

API-Key*

Auth

API key for authentication

Edit a user

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

Query Parameters

Name
Type
Description

username*

String

Username of user

newusername*

String

New username of user

newemail*

String

New email of user

newpassword*

String

New password of user

Headers

Name
Type
Description

API-Key*

Auth

API key for authentication

Send verification email to user

POST https://cloud.daneeskripter.dev/api/user/verify

Query Parameters

Name
Type
Description

username*

String

Username of user

Headers

Name
Type
Description

API-Key*

Auth

API key for authentication

Change user's role

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

Query Parameters

Name
Type
Description

username*

String

Username of user

name*

String

Name of role

Headers

Name
Type
Description

API-Key*

Auth

API key for authentication

Last updated