/rest/patients/{id}/permissions

Updates the permissions for a patient record, identified by its internal PhenoTips identifier. Note: The JSON in the requets body must contain all of the required fields. The existing Permissions resource will be completely overwritten by the JSON in the request body

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Internal PhenoTips identifier

Body Params

An object describing the permissions attached to a patient record. It contains information about the owner of the record, the visibility of the record, and the collaborators on the record.

owner
object
required
visibility
object
required

Possible values for level and label are hidden, public, private, open and matchable.

collaborators
object
required
Headers
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Responses
200

Permissions successfully updated

401

User not authenticated

403

User not authorized

404

Resource not found

Language
Credentials
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here!