Skip to main content
POST
/
core.v1.ResourceService
/
CreateNativeUser
cURL
curl -X POST "https://api.joinformal.com/core.v1.ResourceService/CreateNativeUser" \
  -H "X-API-KEY: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "example": "value"
  }'
{
  "nativeUser": {
    "basic": {
      "username": "<string>",
      "usernameIsEnv": true,
      "password": "<string>",
      "passwordIsEnv": true
    },
    "id": "<string>",
    "resourceId": "<string>",
    "username": "<string>",
    "secret": "<string>",
    "useAsDefault": true,
    "terminationProtection": true,
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

X-API-KEY
string
header
required

API key authentication. Get your API key from the Formal console.

Body

application/json
resourceId
string
Minimum string length: 1
username
string
Minimum string length: 1
secret
string
Minimum string length: 1
useAsDefault
boolean
terminationProtection
boolean

Response

Success

nativeUser
native_user · object