Query parameters
-
profileid
string Required The id of the profile to switch to. This id can be retrieved using show with active=false
GET
/profile/switch
curl \
--request GET 'http://localhost:1888/v2/api/profile/switch?profileid=string'
Response examples (200)
{
"Response": "Successfully switched profile",
"Error": "string",
"StatusCode": 200,
"Success": true,
"Type": "API"
}
Response examples (409)
{
"Response": "string",
"Error": "No profile with specified id found!",
"StatusCode": 409,
"Success": false,
"Type": "API"
}
Response examples (500)
{
"Response": "string",
"Error": "Unknown error",
"StatusCode": 500,
"Success": false,
"Type": "API"
}