Skip to main content

Generate user invitation link for project

PUT 

/v2/projects/:projectId/invite

Generate user invitation link for project

Request

Path Parameters

    projectId int64required

Body

required
    type string

    Possible values: [NONE, VIEW, TRANSLATE, REVIEW, EDIT, MANAGE]

    scopes string[]

    Granted scopes for the invited user

    languages int64[]deprecated

    Deprecated -> use translate languages

    translateLanguages int64[]deprecated

    Languages user can translate to

    viewLanguages int64[]deprecated

    Languages user can view

    stateChangeLanguages int64[]deprecated

    Languages user can change translation state (review)

    email string

    Possible values: <= 250 characters

    Email to send invitation to

    name string

    Possible values: <= 250 characters

    Name of invited user

Responses

OK

Schema
    id int64required
    code stringrequired
    type string

    Possible values: [NONE, VIEW, TRANSLATE, REVIEW, EDIT, MANAGE]

    permittedLanguageIds int64[]
    createdAt date-timerequired
    invitedUserName string
    invitedUserEmail string
    permission objectrequired

    Current user's direct permission

    scopes string[]required

    Possible values: [translations.view, translations.edit, keys.edit, screenshots.upload, screenshots.delete, screenshots.view, activity.view, languages.edit, admin, project.edit, members.view, members.edit, translation-comments.add, translation-comments.edit, translation-comments.set-state, translations.state-edit, keys.view, keys.delete, keys.create, batch-jobs.view, batch-jobs.cancel, translations.batch-by-tm, translations.batch-machine, content-delivery.manage, content-delivery.publish, webhooks.manage]

    Granted scopes to the user. When user has type permissions, this field contains permission scopes of the type.

    type string

    Possible values: [NONE, VIEW, TRANSLATE, REVIEW, EDIT, MANAGE]

    The user's permission type. This field is null if uses granular permissions

    permittedLanguageIds int64[]deprecated

    Deprecated (use translateLanguageIds).

    List of languages current user has TRANSLATE permission to. If null, all languages edition is permitted.

    translateLanguageIds int64[]

    List of languages user can translate to. If null, all languages editing is permitted.

    viewLanguageIds int64[]

    List of languages user can view. If null, all languages view is permitted.

    stateChangeLanguageIds int64[]

    List of languages user can change state to. If null, changing state of all language values is permitted.

Loading...