From 8a52be9a9a8ee25d2f62ef60c22feb77f52ed1e7 Mon Sep 17 00:00:00 2001 From: Konstantinos Triantafyllou Date: Mon, 20 Dec 2021 18:17:20 +0100 Subject: [PATCH] Update 'Documentation' --- Documentation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation.md b/Documentation.md index ecf31ee..f817dca 100644 --- a/Documentation.md +++ b/Documentation.md @@ -52,7 +52,7 @@ Authority format: (TYPE)\_(ID) | Method | Path | Path Variables | Params | Description | -------- | -------- | -------- |-------- | -------- | -| DELETE | /{type}/{id} | **type**: Type of Entity, **id**: ID of Entity | **email**: Email of user (optional) | Remove Authority (TYPE)\_(ID) from user(s) with this email or logged in user, if email isn't provided. +| DELETE | /{type}/{id} | **type**: Type of Entity, **id**: ID of Entity | **email**: Email of user (optional), **force**: if true and user is admin of this enity then both roles will be removed, default: false | Remove Authority (TYPE)\_(ID) from user(s) with this email or logged in user, if email isn't provided. | GET | /{type}/{id} | **type**: Type of Entity, **id**: ID of Entity |**email**: Set to false to hide email information, default: true, **name**: Set to false to hide name information, default: true | Retrieve information of users with Authority (TYPE)_(ID). | POST | /{type}/{id} | **type**: Type of Entity, **id**: ID of Entity | **email**: Email of user, **force**: if true and Authority (TYPE)\_(ID) doesn't exist, the Authority will be created, default: false | Assign Authority CURATOR\_(TYPE) to user(s) with this email or logged in user, if email isn't provided. | POST | /{type}/{id} /create | **type**: Type of Entity, **id**: ID of Entity | **description**: Desciption of Authority (TYPE)\_(ID) (optional) | Create Authority (TYPE)_(ID), along with (TYPE)\_(ID)\_(MANAGER).