Skip to main content
POST
/
core.v1.ResourceService
/
CreateNativeUserIdentityLink
cURL
curl -X POST "https://api.joinformal.com/core.v1.ResourceService/CreateNativeUserIdentityLink" \
  -H "X-API-KEY: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "example": "value"
  }'
{
  "link": {
    "group": {
      "id": "<string>",
      "name": "<string>",
      "description": "<string>",
      "dsyncGroupId": "<string>",
      "terminationProtection": true,
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    },
    "id": "<string>",
    "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"
    },
    "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
nativeUserId
string
Minimum string length: 1
identityId
string
Minimum string length: 1
identityType
enum<string>
Available options:
user,
group,
resource_hostname
terminationProtection
boolean

Response

Success