Add Users

Add Users

Add list of users

Request
URI
POST
https://sfo-vcf01.rainpole.io/v1/users
COPY
Request Body

User data collection

Array of User of type(s) application/json
Optional
[
    {
        "apiKey": "string",
        "creationTimestamp": "string",
        "domain": "string",
        "id": "string",
        "name": "string",
        "role": {
            "id": "string"
        },
        "type": "One among: USER, GROUP, SERVICE"
    }
]
Responses
200

OK

Returns PageOfUser of type(s) application/json
{
    "elements": [
        {
            "apiKey": "string",
            "creationTimestamp": "string",
            "domain": "string",
            "id": "string",
            "name": "string",
            "role": {
                "id": "string"
            },
            "type": "One among: USER, GROUP, SERVICE"
        }
    ],
    "pageMetadata": {
        "pageNumber": 0,
        "pageSize": 0,
        "totalElements": 0,
        "totalPages": 0
    }
}
array of User
elements
Optional

The list of elements included in this page

pageMetadata
Optional

Represents pageable elements pagination metadata


201

Created

Returns PageOfUser of type(s) application/json
{
    "elements": [
        {
            "apiKey": "string",
            "creationTimestamp": "string",
            "domain": "string",
            "id": "string",
            "name": "string",
            "role": {
                "id": "string"
            },
            "type": "One among: USER, GROUP, SERVICE"
        }
    ],
    "pageMetadata": {
        "pageNumber": 0,
        "pageSize": 0,
        "totalElements": 0,
        "totalPages": 0
    }
}
array of User
elements
Optional

The list of elements included in this page

pageMetadata
Optional

Represents pageable elements pagination metadata


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