Skip to main content

Users - Update

Description

Updates the description of a user specified by a Bearer token.

Method Definition

@RequestLine("PUT /users?description={description}")
@Headers("Authorization: Bearer {token}")
HystrixCommand<UserList> updateUser(
@Param("token") String authToken,
@Param("description") String description
);

Required Parameters

NameTypeDescription
authTokenstringUser Auth Token with the user:edit scope
descriptionstringThe string to update the channel’s description to. The description is limited to a maximum of 300 characters.

Optional Parameters

None

Code-Snippets

update the description of a user

twitchClient.getHelix().updateUser(accessToken, "Twitch4J IntegrationTest User").execute();