Grant Access to a Client Session
Grant a client session access to resources
Grants a client session access to one or more resources, such as Connect Webviews, user identities, and so on.
/client_sessions/grant_access
OK
Request
Specify the resources that you want a client session to be able to access by including the corresponding parameters in the request body. You can also specify an existing client session ID if desired.
Request Body Parameters
Parameter | Type | Description |
---|---|---|
| String Optional | ID of the desired client session |
| String Optional | Your own internal user ID for the user to associate with the client session |
| Array of strings Optional | Array of IDs of the connected accounts to associate with the client session |
| Array of strings Optional | Array of IDs of the Connect Webviews to associate with the client session |
| Array of strings Optional | Array of IDs of the user identities to associate with the client session |
Sample Request
Response
Returns a client_session
containing the following properties:
Property | Description |
---|---|
| Client session token associated with the client session |
| ID of the workspace that contains the client session |
| Your own internal user ID for the user |
| ID of the client session |
| Date and time at which the client session was created |
This response also includes a Boolean ok
status indicator.
Sample Response
Last updated