/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
owner
object
required
visibility
object
required

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

collaborators
object
required
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!