Phrase::InvitationUpdateParameters
Name
Type
Description
Notes
role
String
Invitiation role, can be any of Manager, Developer, Translator
[optional]
project_ids
String
List of project ids the invited user has access to
[optional]
locale_ids
String
List of locale ids the invited user has access to
[optional]
space_ids
Array<String>
List of spaces the user is assigned to.
[optional]
team_ids
Array<String>
List of teams the user is assigned to.
[optional]
default_locale_codes
Array<String>
List of default locales for the user.
[optional]
permissions
Hash<String, String>
Additional permissions depending on invitation role.
[optional]
require 'phrase'
instance = Phrase ::InvitationUpdateParameters . new ( role : 'Invitiation role' ,
project_ids : 'abcd1234abcd1234abcd1234,abcd1234abcd1234abcd1235' ,
locale_ids : 'abcd1234abcd1234abcd1234,abcd1234abcd1234abcd1235' ,
space_ids : [ "abcd1234abcd1234abcd1234" , "abcd1234abcd1234abcd1235" ] ,
team_ids : [ "abcd1234abcd1234abcd1234" , "abcd1234abcd1234abcd1235" ] ,
default_locale_codes : [ "en" , "de" ] ,
permissions : { "create_upload" :true } )