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).