Get Local Account

Get Local Account

Get information on the local account

Request
URI
GET
https://sfo-vcf01.rainpole.io/v1/users/local/admin
COPY
Responses
200

OK

Returns LocalUser of type(s) application/json
{
    "apiKey": "string",
    "creationTimestamp": "string",
    "domain": "string",
    "id": "string",
    "isConfigured": false,
    "name": "string",
    "role": {
        "id": "string"
    },
    "type": "One among: USER, GROUP, SERVICE"
}
string
apiKey
Optional

The API key of the user

string
creationTimestamp
Optional

The timestamp at which the user was created

string
domain
Optional

The domain of the user

string
id
Optional

The ID of the user

boolean
isConfigured
Optional

Flag indicating whether or not local account is configured

string
name
Required

The name of the user

role
Required

Represents a role reference

string
type
Required

The type of the user


400

Bad request

Returns ErrorResponse of type(s) application/json
{
    "arguments": [
        "string"
    ],
    "cause": [
        {
            "message": "string",
            "type": "string"
        }
    ],
    "context": {
        "context": "string"
    },
    "errorCode": "string",
    "message": "string",
    "nestedErrors": [
        "ErrorResponse Object"
    ],
    "referenceToken": "string",
    "remediationMessage": "string"
}
array of string
arguments
Optional

arguments

array of ErrorCause
cause
Optional

cause

object
context
Optional

context

string
errorCode
Optional

errorCode

string
message
Optional

message

nestedErrors
Optional

nestedErrors

string
referenceToken
Optional

referenceToken

string
remediationMessage
Optional

remediationMessage


401

Unauthorized Request

Returns ErrorResponse of type(s) application/json
{
    "arguments": [
        "string"
    ],
    "cause": [
        {
            "message": "string",
            "type": "string"
        }
    ],
    "context": {
        "context": "string"
    },
    "errorCode": "string",
    "message": "string",
    "nestedErrors": [
        "ErrorResponse Object"
    ],
    "referenceToken": "string",
    "remediationMessage": "string"
}
array of string
arguments
Optional

arguments

array of ErrorCause
cause
Optional

cause

object
context
Optional

context

string
errorCode
Optional

errorCode

string
message
Optional

message

nestedErrors
Optional

nestedErrors

string
referenceToken
Optional

referenceToken

string
remediationMessage
Optional

remediationMessage


500

Internal Server Error

Returns ErrorResponse of type(s) application/json
{
    "arguments": [
        "string"
    ],
    "cause": [
        {
            "message": "string",
            "type": "string"
        }
    ],
    "context": {
        "context": "string"
    },
    "errorCode": "string",
    "message": "string",
    "nestedErrors": [
        "ErrorResponse Object"
    ],
    "referenceToken": "string",
    "remediationMessage": "string"
}
array of string
arguments
Optional

arguments

array of ErrorCause
cause
Optional

cause

object
context
Optional

context

string
errorCode
Optional

errorCode

string
message
Optional

message

nestedErrors
Optional

nestedErrors

string
referenceToken
Optional

referenceToken

string
remediationMessage
Optional

remediationMessage