rac_connection_tokens_partial_update
PATCH/rac/connection_tokens/:connection_token_uuid/
ConnectionToken Viewset
Request
Path Parameters
A UUID string identifying this RAC Connection token.
- application/json
Body
Responses
- 200
- 400
- 403
- application/json
- Schema
- Example (from schema)
Schema
provider_obj
object
required
RACProvider Serializer
Flow used for authentication when the associated application is accessed by an un-authenticated user.
Flow used when authorizing this provider.
Get object component so that we know how to edit the object
Internal application name, used in URLs.
Application's display Name.
Internal application name, used in URLs.
Application's display Name.
Return object's verbose_name
Return object's plural verbose_name
Return internal model name
Determines how long a session lasts. Default of 0 means that the sessions lasts until the browser is closed. (Format: hours=-1;minutes=-2;seconds=-3)
When set to true, connection tokens will be deleted upon disconnect.
endpoint_obj
object
required
Endpoint Serializer
provider_obj
object
required
RACProvider Serializer
Flow used for authentication when the associated application is accessed by an un-authenticated user.
Flow used when authorizing this provider.
Get object component so that we know how to edit the object
Internal application name, used in URLs.
Application's display Name.
Internal application name, used in URLs.
Application's display Name.
Return object's verbose_name
Return object's plural verbose_name
Return internal model name
Determines how long a session lasts. Default of 0 means that the sessions lasts until the browser is closed. (Format: hours=-1;minutes=-2;seconds=-3)
When set to true, connection tokens will be deleted upon disconnect.
Possible values: [rdp
, vnc
, ssh
]
Possible values: [static
, prompt
]
Build actual launch URL (the provider itself does not have one, just individual endpoints)
Possible values: >= -2147483648
and <= 2147483647
user
object
required
Stripped down user serializer to show relevant users for groups
Possible values: <= 150 characters
, Value must match regular expression ^[\w.@+-]+$
Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.
User's display name.
Designates whether this user should be treated as active. Unselect this instead of deleting accounts.
Possible values: <= 254 characters
{
"pk": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"provider": 0,
"provider_obj": {
"pk": 0,
"name": "string",
"authentication_flow": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"authorization_flow": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"property_mappings": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"component": "string",
"assigned_application_slug": "string",
"assigned_application_name": "string",
"assigned_backchannel_application_slug": "string",
"assigned_backchannel_application_name": "string",
"verbose_name": "string",
"verbose_name_plural": "string",
"meta_model_name": "string",
"settings": {},
"outpost_set": [
"string"
],
"connection_expiry": "string",
"delete_token_on_disconnect": true
},
"endpoint": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"endpoint_obj": {
"pk": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"provider": 0,
"provider_obj": {
"pk": 0,
"name": "string",
"authentication_flow": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"authorization_flow": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"property_mappings": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"component": "string",
"assigned_application_slug": "string",
"assigned_application_name": "string",
"assigned_backchannel_application_slug": "string",
"assigned_backchannel_application_name": "string",
"verbose_name": "string",
"verbose_name_plural": "string",
"meta_model_name": "string",
"settings": {},
"outpost_set": [
"string"
],
"connection_expiry": "string",
"delete_token_on_disconnect": true
},
"protocol": "rdp",
"host": "string",
"settings": {},
"property_mappings": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"auth_mode": "static",
"launch_url": "string",
"maximum_connections": 0
},
"user": {
"pk": 0,
"username": "string",
"name": "string",
"is_active": true,
"last_login": "2024-09-27T14:26:18.662Z",
"email": "user@example.com",
"attributes": {},
"uid": "string"
}
}
- application/json
- Schema
- Example (from schema)
Schema
{
"non_field_errors": [
"string"
],
"code": "string"
}
- application/json
- Schema
- Example (from schema)
Schema
{
"detail": "string",
"code": "string"
}