Put
/v2/Teams/{userId}/content
Security
API Key
Header parameter nameapi_token

Enter REST API key. To generate a key, go to Settings → Knowledge base portal → API tokens

Path parameters
userId
stringRequired

The ID of the team account for which the content role has to be updated

Body parameters
Collapse all
object
content_permissions
Array of object (ContentPermissionCustomer) Required

Content permissions of the team account. Note that a team account can have multiple content permissions.

object

The content permission of the team account

associated_content_role_id
string Required

The content role id of the team account.Please refer GET /Teams/roles endpoint to get the list of content roles.

Min length1
access_scope
object (AddUpdateAccessScopeCustomerV2)Required

The access scope of the user

is_invitation_id
boolean

Applicable only for SSO team accounts. If temporary invitation ID is passed as team account ID, then set this to true.

Collapse all
object
content_permissions
Array of object (ContentPermissionCustomer) Required

Content permissions of the team account. Note that a team account can have multiple content permissions.

object

The content permission of the team account

associated_content_role_id
string Required

The content role id of the team account.Please refer GET /Teams/roles endpoint to get the list of content roles.

Min length1
access_scope
object (AddUpdateAccessScopeCustomerV2)Required

The access scope of the user

is_invitation_id
boolean

Applicable only for SSO team accounts. If temporary invitation ID is passed as team account ID, then set this to true.

Collapse all
object
content_permissions
Array of object (ContentPermissionCustomer) Required

Content permissions of the team account. Note that a team account can have multiple content permissions.

object

The content permission of the team account

associated_content_role_id
string Required

The content role id of the team account.Please refer GET /Teams/roles endpoint to get the list of content roles.

Min length1
access_scope
object (AddUpdateAccessScopeCustomerV2)Required

The access scope of the user

is_invitation_id
boolean

Applicable only for SSO team accounts. If temporary invitation ID is passed as team account ID, then set this to true.

Collapse all
object
content_permissions
Array of object (ContentPermissionCustomer) Required

Content permissions of the team account. Note that a team account can have multiple content permissions.

object

The content permission of the team account

associated_content_role_id
string Required

The content role id of the team account.Please refer GET /Teams/roles endpoint to get the list of content roles.

Min length1
access_scope
object (AddUpdateAccessScopeCustomerV2)Required

The access scope of the user

is_invitation_id
boolean

Applicable only for SSO team accounts. If temporary invitation ID is passed as team account ID, then set this to true.

Responses
200
400

Success

Collapse all
object
result
boolean

Customer API response data

extension_data
object (ExtensionDataObject)
success
boolean

Status indication for customer API response

errors
Array of object (BaseError) | null

Errors in the customer API response

object
warnings
Array of object (BaseWarning) | null

Warnings in the customer API response

object
information
Array of object (BaseInformation) | null

Information passed by the customer API response

object