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
}
}
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
}
}
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
object
context
Optional
context
string
errorCode
Optional
errorCode
string
message
Optional
message
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
object
context
Optional
context
string
errorCode
Optional
errorCode
string
message
Optional
message
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
object
context
Optional
context
string
errorCode
Optional
errorCode
string
message
Optional
message
string
referenceToken
Optional
referenceToken
string
remediationMessage
Optional
remediationMessage