Developer / Reference / HTTP API / Endpoints

Department

Last updated on 13-May-2020 by Jakob Jakobsen Boysen
Jakob Jakobsen Boysen

Platform Lead
boysen@scifeon.com

Departments can be queried using the regular query-endpoint.

Get project access

GET /api/department/{departmentId}/rls

Scope: ADMIN or DATA_MANAGER

Request

Path parameters

  • departmentId ID of department

Response

A list of users and their access type:

Add or update access

POST /api/department/{departmentId}/rls

Scope: ADMIN or DATA_MANAGER_DEPARTMENT_WRITE

Add or update access to a department and all associated entities.

Request

Path parameters

  • departmentId ID of department

Body parameters

  • accessType Either Read or Write
  • userID ID of user

Remove access

DELETE /api/department/{departmentId}/rls/{userId}

Scope: ADMIN or DATA_MANAGER_DEPARTMENT_WRITE

Remove access for a user.

Request

Path parameters

  • departmentId ID of department
  • userId ID of user or department to remove access for