diff --git a/app/views/docs/authentication-management.phtml b/app/views/docs/authentication-management.phtml index f5790bf5..462bb692 100644 --- a/app/views/docs/authentication-management.phtml +++ b/app/views/docs/authentication-management.phtml @@ -223,7 +223,7 @@ const users = new sdk.Users(client); const promise = users.updateLabels( '[USER_ID]', - [ Role.label('subscriber') ] + [ 'subscriber' ] ); promise.then(function (response) { @@ -252,7 +252,7 @@ $users = new Users($client); $result = $users->updateLabels( '[USER_ID]', - [ Role.label('subscriber') ] + [ 'subscriber' ] ); @@ -275,7 +275,7 @@ users = Users(client) result = users.update_labels( '[USER_ID]', - [ Role.label('subscriber') ] + [ 'subscriber' ] ) @@ -295,7 +295,7 @@ users = Users.new(client) response = users.update_labels( user_id: '[USER_ID]', - labels: [ Role.label('subscriber') ] + labels: [ 'subscriber' ] ) @@ -313,7 +313,7 @@ let users = new sdk.Users(client); const promise = users.updateLabels( '[USER_ID]', - [ Role.label('subscriber') ] + [ 'subscriber' ] ); promise.then(function (response) { @@ -337,7 +337,7 @@ final users = Users(client); final result = await users.updateLabels( userId: '[USER_ID]', - labels: [ Role.label('subscriber') ], + labels: [ 'subscriber' ], ); @@ -357,7 +357,7 @@ val users = Users(client) val response = users.updateLabels( userId = "[USER_ID]", - labels = [ Role.label('subscriber') ] + labels = [ 'subscriber' ] ) @@ -375,7 +375,7 @@ let users = Users(client) let response = try await users.updateLabels( userId: "[USER_ID]", - labels: [ Role.label('subscriber') ] + labels: [ 'subscriber' ] ) @@ -393,7 +393,7 @@ var users = new Users(client); var response = await users.UpdateLabels( userId: "[USER_ID]", - labels: [ Role.Label('subscriber') ] + labels: [ 'subscriber' ] ); @@ -417,4 +417,4 @@ var response = await users.UpdateLabels( For example, in a todo app, a user can create a team for one of their todo lists and invite another user to the team to grant the other user access. The invited user can accept the invitation to gain access. If the user's ever removed from the team, they'll lose access again. -
+ \ No newline at end of file diff --git a/app/views/docs/permissions.phtml b/app/views/docs/permissions.phtml index 1c10fc52..b72bba1b 100644 --- a/app/views/docs/permissions.phtml +++ b/app/views/docs/permissions.phtml @@ -98,6 +98,10 @@