PUT /entity/{id}/datatype

Change the DataType of the given entity. The entity's DataType controls how the entity can be accessed. For example, an entity's DataType must be set to 'open_data' in order for anonymous to be allowed to access its contents.

Note: The caller must be a member of the 'Synapse Access and Compliance Team' (id=464532) in order to change an Entity's type to 'OPEN_DATA'. The caller must be grated UPDATED on the Entity to change the its type to any other value.

Resource URL

https://repo-prod.prod.sagebase.org/repo/v1/entity/{id}/datatype

Resource URL Variables
{id}
Parameters
type

optional

Resource Information
Authentication Required
HTTP Methods PUT
Request Object None
Response Object DataTypeResponse
(application/json)