For the given upn, delete the refresh token and user details from db
Delete authenticated users and the refresh token details from the db for the given upn
Query Parameters
- upn string required
UPN ( User principal name ) of the refresh token
- 200
- 404
- 500
Success
- application/json
- Schema
- Example (from schema)
Schema
credentialId object[]
id int32name stringrefreshToken TCORefreshToken
RefreshTokenId int32Refresh Token ID
RefreshToken stringRefresh Token
Provider stringCloud Provider name
ErrorMesage stringError message while saving/validating refresh token
ErrorCode int32Error code while saving/validating refresh token
discoveryCriteria object
Model for Workload Discovery Selector Object
count int32totalRecords int32criteria WorkloadDiscoveryCriteriaEnumPossible values: [
SUBSCRIPTIONS,REGIONS,PROJECTS,ZONES,APPLICATION]Selection criteria for workload discovery while running a TCO Assessment
details object[]
Additional Details related to respective select
id int32name stringvalue string- errorCode CyberResilienceErrorCode
Possible values: [
NO_ERROR,INVALID_INPUT,INDEX_SERVER_NOT_EXIST,INDEX_SERVER_INACCESSIBLE,INDEX_SERVER_DATA_ANALYTICS_ROLE_MISSING,CREDENTIAL_UNSUPPORTED,CREDENTIAL_INACCESSIBLE,CYBER_RESILIENCE_ALREADY_CONFIGURED,CYBER_RESILIENCE_NOT_CONFIGURED,DELETING_UNCONFIGURED_CREDENTIAL,ADDING_CONFIGURED_CREDENTIAL,UNKNOWN_ERROR,INTERNAL_SERVER_ERROR,CREDENTIAL_INVALID] - errorMessage string
{
"credentialId": [
{
"id": 0,
"name": "string"
}
],
"refreshToken": {
"RefreshTokenId": 0,
"RefreshToken": "string",
"Provider": "string",
"ErrorMesage": "string",
"ErrorCode": 0
},
"discoveryCriteria": {
"count": 0,
"totalRecords": 0,
"criteria": "SUBSCRIPTIONS",
"details": [
{
"id": 0,
"name": "string",
"value": "string"
}
]
},
"errorCode": "NO_ERROR",
"errorMessage": "string"
}
Requested Details not found
- application/json
- Schema
- Example (from schema)
Schema
credentialId object[]
id int32name stringrefreshToken TCORefreshToken
RefreshTokenId int32Refresh Token ID
RefreshToken stringRefresh Token
Provider stringCloud Provider name
ErrorMesage stringError message while saving/validating refresh token
ErrorCode int32Error code while saving/validating refresh token
discoveryCriteria object
Model for Workload Discovery Selector Object
count int32totalRecords int32criteria WorkloadDiscoveryCriteriaEnumPossible values: [
SUBSCRIPTIONS,REGIONS,PROJECTS,ZONES,APPLICATION]Selection criteria for workload discovery while running a TCO Assessment
details object[]
Additional Details related to respective select
id int32name stringvalue string- errorCode CyberResilienceErrorCode
Possible values: [
NO_ERROR,INVALID_INPUT,INDEX_SERVER_NOT_EXIST,INDEX_SERVER_INACCESSIBLE,INDEX_SERVER_DATA_ANALYTICS_ROLE_MISSING,CREDENTIAL_UNSUPPORTED,CREDENTIAL_INACCESSIBLE,CYBER_RESILIENCE_ALREADY_CONFIGURED,CYBER_RESILIENCE_NOT_CONFIGURED,DELETING_UNCONFIGURED_CREDENTIAL,ADDING_CONFIGURED_CREDENTIAL,UNKNOWN_ERROR,INTERNAL_SERVER_ERROR,CREDENTIAL_INVALID] - errorMessage string
{
"credentialId": [
{
"id": 0,
"name": "string"
}
],
"refreshToken": {
"RefreshTokenId": 0,
"RefreshToken": "string",
"Provider": "string",
"ErrorMesage": "string",
"ErrorCode": 0
},
"discoveryCriteria": {
"count": 0,
"totalRecords": 0,
"criteria": "SUBSCRIPTIONS",
"details": [
{
"id": 0,
"name": "string",
"value": "string"
}
]
},
"errorCode": "NO_ERROR",
"errorMessage": "string"
}
Server Error
- application/json
- Schema
- Example (from schema)
Schema
credentialId object[]
id int32name stringrefreshToken TCORefreshToken
RefreshTokenId int32Refresh Token ID
RefreshToken stringRefresh Token
Provider stringCloud Provider name
ErrorMesage stringError message while saving/validating refresh token
ErrorCode int32Error code while saving/validating refresh token
discoveryCriteria object
Model for Workload Discovery Selector Object
count int32totalRecords int32criteria WorkloadDiscoveryCriteriaEnumPossible values: [
SUBSCRIPTIONS,REGIONS,PROJECTS,ZONES,APPLICATION]Selection criteria for workload discovery while running a TCO Assessment
details object[]
Additional Details related to respective select
id int32name stringvalue string- errorCode CyberResilienceErrorCode
Possible values: [
NO_ERROR,INVALID_INPUT,INDEX_SERVER_NOT_EXIST,INDEX_SERVER_INACCESSIBLE,INDEX_SERVER_DATA_ANALYTICS_ROLE_MISSING,CREDENTIAL_UNSUPPORTED,CREDENTIAL_INACCESSIBLE,CYBER_RESILIENCE_ALREADY_CONFIGURED,CYBER_RESILIENCE_NOT_CONFIGURED,DELETING_UNCONFIGURED_CREDENTIAL,ADDING_CONFIGURED_CREDENTIAL,UNKNOWN_ERROR,INTERNAL_SERVER_ERROR,CREDENTIAL_INVALID] - errorMessage string
{
"credentialId": [
{
"id": 0,
"name": "string"
}
],
"refreshToken": {
"RefreshTokenId": 0,
"RefreshToken": "string",
"Provider": "string",
"ErrorMesage": "string",
"ErrorCode": 0
},
"discoveryCriteria": {
"count": 0,
"totalRecords": 0,
"criteria": "SUBSCRIPTIONS",
"details": [
{
"id": 0,
"name": "string",
"value": "string"
}
]
},
"errorCode": "NO_ERROR",
"errorMessage": "string"
}