Set default share scope
Sets the default share scope of the logged-in user. Available values are: AUTHENTICATED (for sharing with all logged-in users) and PRIVATE (for no shares).
PUT
/api/2/filter/defaultShareScopeAuthorization
AuthorizationBasic auth · headerrequiredIn order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.
or
AuthorizationBearer token · headerrequiredPersonal Access Token — Administration > Profile > Personal Access Tokens
AuthorizationBasic auth · headerrequiredIn order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.
Request body
application/jsonscopestringAllowed:
GLOBALAUTHENTICATEDPRIVATEResponses
200
Returns the new default share scope of the logged-in user
scopestringAllowed:
GLOBALAUTHENTICATEDPRIVATE400
Returned if there is a problem setting the preferences for the logged-in user