component-metadata - shares

Saves the given share for the current user's company

Allows creation of a new share with a group/user/all

post/componentmetadata/shares

Request body

idinteger

the share id

shareToIdinteger

the id of the user/group the component is shared with

shareToTypestring

the type of entity shared with (user/group/all)

shareToDisplayNamestring

full name of the entity shared with

componentTypestring

the type of component being shared

componentIdstring

the id of the component being shared

accessLevelstring

Level of rights shared with entity. (for projects only)

Response

successful operation

idinteger

the share id

shareToIdinteger

the id of the user/group the component is shared with

shareToTypestring

the type of entity shared with (user/group/all)

shareToDisplayNamestring

full name of the entity shared with

componentTypestring

the type of component being shared

componentIdstring

the id of the component being shared

accessLevelstring

Level of rights shared with entity. (for projects only)

Changes