Phrase::MemberUpdateParameters
Name
Type
Description
Notes
strategy
String
Update strategy, can be any of set, add, remove. If provided, it will set, add or remove given spaces, projects and locale ids from users access list.
[optional]
role
String
Member role, can be any of of Admin, ProjectManager, Developer, Designer, Translator
[optional]
project_ids
String
List of project ids the user has access to.
[optional]
locale_ids
String
List of locale ids the user has access to.
[optional]
default_locale_codes
Array<String>
List of default locales for the user.
[optional]
space_ids
Array<String>
List of spaces the user is assigned to.
[optional]
permissions
Hash<String, String>
Additional permissions depending on member role. Available permissions are <code>create_upload</code> and <code>review_translations</code>
[optional]
require 'Phrase'
instance = Phrase ::MemberUpdateParameters . new ( strategy : set ,
role : Developer ,
project_ids : abcd1234abcd1234abcd1234 , abcd1234abcd1234abcd1235 ,
locale_ids : abcd1234abcd1234abcd1234 , abcd1234abcd1234abcd1235 ,
default_locale_codes : [ " ; en " ; , " ; fi " ; ] ,
space_ids : [ " ; abcd1234abcd1234abcd1234 " ; , " ; abcd1234abcd1234abcd1235 " ; ] ,
permissions : { " ; create_upload " ; :true , " ; review_translations " ; :true } )