Target hub name, which must start with alphabetic characters and only contain alpha-numeric characters or underscore.
Yes
string
group
path
Target group name, whose length must be greater than 0 and less than 1025.
Yes
string
connectionId
path
Target connection Id
Yes
string
Responses
Code
Description
200
Success
400
Bad Request
404
Not Found
Check whether a user exists in the target group.
GET /api/v1/hubs/{hub}/groups/{group}/users/{user}
Parameters
Name
Located in
Description
Required
Schema
hub
path
Target hub name, which must start with alphabetic characters and only contain alpha-numeric characters or underscore.
Yes
string
group
path
Target group name, whose length must be greater than 0 and less than 1025.
Yes
string
user
path
Target user Id
Yes
string
Responses
Code
Description
200
Success
400
Bad Request
404
Not Found
Add a user to the target group.
PUT /api/v1/hubs/{hub}/groups/{group}/users/{user}
Parameters
Name
Located in
Description
Required
Schema
hub
path
Target hub name, which must start with alphabetic characters and only contain alpha-numeric characters or underscore.
Yes
string
group
path
Target group name, whose length must be greater than 0 and less than 1025.
Yes
string
user
path
Target user Id
Yes
string
ttl
query
Specifies the seconds that the user exists in the group. If not set, the user lives in the group for at most 1 year. Note that when ttl is not set, the service preserves 100 user-group relationships per user and old user-group relationship are overwritten by newly added ones.
Tulossa pian: Vuoden 2024 aikana poistamme asteittain GitHub Issuesin käytöstä sisällön palautemekanismina ja korvaamme sen uudella palautejärjestelmällä. Lisätietoja on täällä: https://aka.ms/ContentUserFeedback.