Introduction
This is the NetFoundry identity service
Overview
HTTP verbs
NetFoundry adheres closely to standard HTTP and REST conventions in its use of HTTP verbs.
Verb | Usage |
---|---|
|
Used to retrieve a resource |
|
Used to create a new resource |
|
Used to update an existing resource, full updates only |
|
Used to delete an existing resource |
The PATCH method is not used (yet).
|
HTTP status codes
NetFoundry adheres closely to standard HTTP and REST conventions in its use of HTTP status codes.
Status code | Usage |
---|---|
|
The actual response will depend on the request method used. In a GET request, the response will contain an entity corresponding to the requested resource. In a POST request, the response will contain an entity describing or containing the result of the action. |
|
The request has been fulfilled and resulted in a new resource being created. |
|
The request has been accepted and is being processed asynchronously Standard response for successful HTTP requests which invoke back-end services. |
|
The server successfully processed the request, but is not returning any content. |
|
The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing). |
|
The request lacks valid authentication credentials for the target resource. |
|
The request is authenticated with valid credentials however that set of credentials is not authorized to access this resource. |
|
The requested resource could not be found but may be available again in the future. Subsequent requests by the client are permissible. |
Resources
Organization
Find Organizations
GET /organizations
Query parameters
Supports standard paging query parameters.
Parameter | Type | Optional | Description |
---|---|---|---|
name |
String |
true |
|
active |
Boolean |
true |
|
mfaProviders |
Object |
true |
Must be one of [None, GoogleAuthenticator]. |
includeDeleted |
Boolean |
true |
Default value: 'false'. |
Response fields
Standard paging response where content
field is list of following objects:
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
name |
String |
true |
|
label |
String |
true |
|
identityProviders |
Array[Object] |
true |
|
identityProviders[].id |
String |
true |
|
identityProviders[].organizationId |
String |
true |
|
identityProviders[].auth0ConnectionId |
String |
true |
|
identityProviders[].name |
String |
true |
|
identityProviders[].auth0ConnectionType |
String |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
identityProviders[].active |
Boolean |
true |
|
identityProviders[].createdAt |
Object |
true |
|
identityProviders[].updatedAt |
Object |
true |
|
identityProviders[].deletedAt |
Object |
true |
|
defaultRoles |
Array[Object] |
true |
|
defaultRoles[].id |
String |
true |
|
defaultRoles[].organizationId |
String |
true |
|
defaultRoles[].name |
String |
true |
|
defaultRoles[].roleType |
String |
true |
Must be one of [Standard, Custom]. |
defaultRoles[].roleId |
String |
true |
|
defaultRoles[].createdBy |
String |
true |
|
defaultRoles[].createdAt |
Object |
true |
|
defaultRoles[].deletedAt |
Object |
true |
|
defaultRoles[].deletedBy |
String |
true |
|
defaultRoles[].deleted |
Boolean |
true |
|
active |
Boolean |
true |
|
mfaProvider |
String |
true |
Must be one of [None, GoogleAuthenticator]. |
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organizations' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 2355
[ {
"id" : "110ece3d-f69a-4f4e-a828-7f32ec2b405f",
"name" : "World Wide Imports",
"label" : "WW-Imports-118",
"identityProviders" : [ {
"id" : "804c8d81-6fbe-471d-9926-4b4c2f896b08",
"organizationId" : "110ece3d-f69a-4f4e-a828-7f32ec2b405f",
"auth0ConnectionId" : "auth0-opaque-connectionId-119",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 592328000,
"epochSecond" : 1734011055
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 590792000,
"epochSecond" : 1734011055
},
"updatedAt" : null,
"deletedAt" : null,
"deleted" : false
}, {
"id" : "139a60de-32e7-4633-812a-47d6d7ff2c34",
"name" : "Newer Faster Name",
"label" : "new-label",
"identityProviders" : [ {
"id" : "7d3e56fb-ad2a-491b-8f2a-82077fe57ce0",
"organizationId" : "139a60de-32e7-4633-812a-47d6d7ff2c34",
"auth0ConnectionId" : "auth0-opaque-connectionId-239",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 928478000,
"epochSecond" : 1734011059
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ ],
"active" : true,
"mfaProvider" : "GoogleAuthenticator",
"createdAt" : {
"nano" : 926622000,
"epochSecond" : 1734011059
},
"updatedAt" : {
"nano" : 968034000,
"epochSecond" : 1734011059
},
"deletedAt" : null,
"deleted" : false
}, {
"id" : "1f420446-0b8f-4653-97e7-3344ece7c0f9",
"name" : "World Wide Imports",
"label" : "WW-Imports-202",
"identityProviders" : [ {
"id" : "fcc7a82c-7153-4b20-ab8c-ebfd1c447e76",
"organizationId" : "1f420446-0b8f-4653-97e7-3344ece7c0f9",
"auth0ConnectionId" : "auth0-opaque-connectionId-203",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 223165000,
"epochSecond" : 1734011057
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 221751000,
"epochSecond" : 1734011057
},
"updatedAt" : null,
"deletedAt" : null,
"deleted" : false
} ]
Get Organization By Id
GET /organizations/{id:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
name |
String |
true |
|
label |
String |
true |
|
identityProviders |
Array[Object] |
true |
|
identityProviders[].id |
String |
true |
|
identityProviders[].organizationId |
String |
true |
|
identityProviders[].auth0ConnectionId |
String |
true |
|
identityProviders[].name |
String |
true |
|
identityProviders[].auth0ConnectionType |
String |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
identityProviders[].active |
Boolean |
true |
|
identityProviders[].createdAt |
Object |
true |
|
identityProviders[].updatedAt |
Object |
true |
|
identityProviders[].deletedAt |
Object |
true |
|
defaultRoles |
Array[Object] |
true |
|
defaultRoles[].id |
String |
true |
|
defaultRoles[].organizationId |
String |
true |
|
defaultRoles[].name |
String |
true |
|
defaultRoles[].roleType |
String |
true |
Must be one of [Standard, Custom]. |
defaultRoles[].roleId |
String |
true |
|
defaultRoles[].createdBy |
String |
true |
|
defaultRoles[].createdAt |
Object |
true |
|
defaultRoles[].deletedAt |
Object |
true |
|
defaultRoles[].deletedBy |
String |
true |
|
defaultRoles[].deleted |
Boolean |
true |
|
active |
Boolean |
true |
|
mfaProvider |
String |
true |
Must be one of [None, GoogleAuthenticator]. |
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organizations/c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 2071
{
"id" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"name" : "ACME International, Inc.",
"label" : "ACME-0",
"identityProviders" : [ {
"id" : "2284493a-7870-47da-bd29-aa9cd2882ac6",
"organizationId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"auth0ConnectionId" : "auth0-opaque-connectionId-1",
"name" : "ACME Federated Active Directory",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 745125000,
"epochSecond" : 1734011011
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "3b391cf2-47de-46a9-bf2f-e55642190795",
"organizationId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"auth0ConnectionId" : "auth0-opaque-connectionId-2",
"name" : "Google-Account",
"auth0ConnectionType" : "Social",
"active" : true,
"createdAt" : {
"nano" : 757173000,
"epochSecond" : 1734011011
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ {
"id" : "3fcd5b22-80c1-401c-a204-9d2b31d5a66a",
"organizationId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"name" : "Test Std Role",
"roleType" : "Standard",
"roleId" : "6110ce43-a724-494f-9990-e4088458f5fd",
"createdBy" : "babf4465-ef86-4dc3-be51-fe0c3af95f7e",
"createdAt" : {
"nano" : 764663000,
"epochSecond" : 1734011011
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "85985acb-27f2-4a05-b726-9ae4ecd1ec0e",
"organizationId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"name" : "Test Custom Role",
"roleType" : "Custom",
"roleId" : "317b554b-b9e2-440a-8f0d-a6abfb7e18c8",
"createdBy" : "5663c00e-3b84-49d2-a029-bab3473c343d",
"createdAt" : {
"nano" : 783103000,
"epochSecond" : 1734011011
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
} ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 696607000,
"epochSecond" : 1734011011
},
"updatedAt" : null,
"deletedAt" : null,
"deleted" : false
}
Get Organization By Label
GET /organizations/label/{label:[-a-zA-Z0-9]{1,63}}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
label |
String |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
name |
String |
true |
|
label |
String |
true |
|
identityProviders |
Array[Object] |
true |
|
identityProviders[].id |
String |
true |
|
identityProviders[].organizationId |
String |
true |
|
identityProviders[].auth0ConnectionId |
String |
true |
|
identityProviders[].name |
String |
true |
|
identityProviders[].auth0ConnectionType |
String |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
identityProviders[].active |
Boolean |
true |
|
identityProviders[].createdAt |
Object |
true |
|
identityProviders[].updatedAt |
Object |
true |
|
identityProviders[].deletedAt |
Object |
true |
|
defaultRoles |
Array[Object] |
true |
|
defaultRoles[].id |
String |
true |
|
defaultRoles[].organizationId |
String |
true |
|
defaultRoles[].name |
String |
true |
|
defaultRoles[].roleType |
String |
true |
Must be one of [Standard, Custom]. |
defaultRoles[].roleId |
String |
true |
|
defaultRoles[].createdBy |
String |
true |
|
defaultRoles[].createdAt |
Object |
true |
|
defaultRoles[].deletedAt |
Object |
true |
|
defaultRoles[].deletedBy |
String |
true |
|
defaultRoles[].deleted |
Boolean |
true |
|
active |
Boolean |
true |
|
mfaProvider |
String |
true |
Must be one of [None, GoogleAuthenticator]. |
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organizations/label/ACME-0' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 2071
{
"id" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"name" : "ACME International, Inc.",
"label" : "ACME-0",
"identityProviders" : [ {
"id" : "2284493a-7870-47da-bd29-aa9cd2882ac6",
"organizationId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"auth0ConnectionId" : "auth0-opaque-connectionId-1",
"name" : "ACME Federated Active Directory",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 745125000,
"epochSecond" : 1734011011
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "3b391cf2-47de-46a9-bf2f-e55642190795",
"organizationId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"auth0ConnectionId" : "auth0-opaque-connectionId-2",
"name" : "Google-Account",
"auth0ConnectionType" : "Social",
"active" : true,
"createdAt" : {
"nano" : 757173000,
"epochSecond" : 1734011011
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ {
"id" : "3fcd5b22-80c1-401c-a204-9d2b31d5a66a",
"organizationId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"name" : "Test Std Role",
"roleType" : "Standard",
"roleId" : "6110ce43-a724-494f-9990-e4088458f5fd",
"createdBy" : "babf4465-ef86-4dc3-be51-fe0c3af95f7e",
"createdAt" : {
"nano" : 764663000,
"epochSecond" : 1734011011
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "85985acb-27f2-4a05-b726-9ae4ecd1ec0e",
"organizationId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"name" : "Test Custom Role",
"roleType" : "Custom",
"roleId" : "317b554b-b9e2-440a-8f0d-a6abfb7e18c8",
"createdBy" : "5663c00e-3b84-49d2-a029-bab3473c343d",
"createdAt" : {
"nano" : 783103000,
"epochSecond" : 1734011011
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
} ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 696607000,
"epochSecond" : 1734011011
},
"updatedAt" : null,
"deletedAt" : null,
"deleted" : false
}
Create Organization
POST /organizations
Request fields
Path | Type | Optional | Description |
---|---|---|---|
name |
String |
true |
|
label |
String |
true |
|
auth0ConnectionId |
String |
true |
|
identityProviderName |
String |
true |
|
auth0ConnectionType |
String |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
name |
String |
true |
|
label |
String |
true |
|
identityProviders |
Array[Object] |
true |
|
identityProviders[].id |
String |
true |
|
identityProviders[].organizationId |
String |
true |
|
identityProviders[].auth0ConnectionId |
String |
true |
|
identityProviders[].name |
String |
true |
|
identityProviders[].auth0ConnectionType |
String |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
identityProviders[].active |
Boolean |
true |
|
identityProviders[].createdAt |
Object |
true |
|
identityProviders[].updatedAt |
Object |
true |
|
identityProviders[].deletedAt |
Object |
true |
|
defaultRoles |
Array[Object] |
true |
|
defaultRoles[].id |
String |
true |
|
defaultRoles[].organizationId |
String |
true |
|
defaultRoles[].name |
String |
true |
|
defaultRoles[].roleType |
String |
true |
Must be one of [Standard, Custom]. |
defaultRoles[].roleId |
String |
true |
|
defaultRoles[].createdBy |
String |
true |
|
defaultRoles[].createdAt |
Object |
true |
|
defaultRoles[].deletedAt |
Object |
true |
|
defaultRoles[].deletedBy |
String |
true |
|
defaultRoles[].deleted |
Boolean |
true |
|
active |
Boolean |
true |
|
mfaProvider |
String |
true |
Must be one of [None, GoogleAuthenticator]. |
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organizations' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"name" : "Best Corp.",
"label" : "BEST-CORP",
"auth0ConnectionId" : "auth0-opaque-connection",
"identityProviderName" : "Corp SAML",
"auth0ConnectionType" : "Enterprise"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 736
{
"id" : "c177df90-e7fe-47a2-9c41-f538b1d06fc6",
"name" : "Best Corp.",
"label" : "BEST-CORP",
"identityProviders" : [ {
"id" : "ec60ec7e-1cdb-4e56-a416-dacb949154f4",
"organizationId" : "c177df90-e7fe-47a2-9c41-f538b1d06fc6",
"auth0ConnectionId" : "auth0-opaque-connection",
"name" : "Best Corp.",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 704421000,
"epochSecond" : 1734011059
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 703569000,
"epochSecond" : 1734011059
},
"updatedAt" : null,
"deletedAt" : null,
"deleted" : false
}
Activate Or Deactivate Organization
PUT /organizations/{id}/{action:activate|deactivate}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
|
action |
String |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
name |
String |
true |
|
label |
String |
true |
|
identityProviders |
Array[Object] |
true |
|
identityProviders[].id |
String |
true |
|
identityProviders[].organizationId |
String |
true |
|
identityProviders[].auth0ConnectionId |
String |
true |
|
identityProviders[].name |
String |
true |
|
identityProviders[].auth0ConnectionType |
String |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
identityProviders[].active |
Boolean |
true |
|
identityProviders[].createdAt |
Object |
true |
|
identityProviders[].updatedAt |
Object |
true |
|
identityProviders[].deletedAt |
Object |
true |
|
defaultRoles |
Array[Object] |
true |
|
defaultRoles[].id |
String |
true |
|
defaultRoles[].organizationId |
String |
true |
|
defaultRoles[].name |
String |
true |
|
defaultRoles[].roleType |
String |
true |
Must be one of [Standard, Custom]. |
defaultRoles[].roleId |
String |
true |
|
defaultRoles[].createdBy |
String |
true |
|
defaultRoles[].createdAt |
Object |
true |
|
defaultRoles[].deletedAt |
Object |
true |
|
defaultRoles[].deletedBy |
String |
true |
|
defaultRoles[].deleted |
Boolean |
true |
|
active |
Boolean |
true |
|
mfaProvider |
String |
true |
Must be one of [None, GoogleAuthenticator]. |
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organizations/6441d915-556a-4322-bc9f-3c88202ec8bb/deactivate' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 817
{
"id" : "6441d915-556a-4322-bc9f-3c88202ec8bb",
"name" : "World Wide Imports",
"label" : "WW-Imports-244",
"identityProviders" : [ {
"id" : "ee15f0e9-166e-49db-8183-b37eba08c447",
"organizationId" : "6441d915-556a-4322-bc9f-3c88202ec8bb",
"auth0ConnectionId" : "auth0-opaque-connectionId-245",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 352361000,
"epochSecond" : 1734011060
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ ],
"active" : false,
"mfaProvider" : null,
"createdAt" : {
"nano" : 351437000,
"epochSecond" : 1734011060
},
"updatedAt" : {
"nano" : 368456000,
"epochSecond" : 1734011060
},
"deletedAt" : null,
"deleted" : false
}
Add Identity Provider
POST /organizations/{id}/identity-providers
Authorization
This endpoint requires:
-
create-identity-provider
action on thisorganization
resource.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Request fields
Path | Type | Optional | Description |
---|---|---|---|
auth0ConnectionId |
String |
true |
|
identityProviderName |
String |
true |
|
auth0ConnectionType |
String |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
name |
String |
true |
|
label |
String |
true |
|
identityProviders |
Array[Object] |
true |
|
identityProviders[].id |
String |
true |
|
identityProviders[].organizationId |
String |
true |
|
identityProviders[].auth0ConnectionId |
String |
true |
|
identityProviders[].name |
String |
true |
|
identityProviders[].auth0ConnectionType |
String |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
identityProviders[].active |
Boolean |
true |
|
identityProviders[].createdAt |
Object |
true |
|
identityProviders[].updatedAt |
Object |
true |
|
identityProviders[].deletedAt |
Object |
true |
|
defaultRoles |
Array[Object] |
true |
|
defaultRoles[].id |
String |
true |
|
defaultRoles[].organizationId |
String |
true |
|
defaultRoles[].name |
String |
true |
|
defaultRoles[].roleType |
String |
true |
Must be one of [Standard, Custom]. |
defaultRoles[].roleId |
String |
true |
|
defaultRoles[].createdBy |
String |
true |
|
defaultRoles[].createdAt |
Object |
true |
|
defaultRoles[].deletedAt |
Object |
true |
|
defaultRoles[].deletedBy |
String |
true |
|
defaultRoles[].deleted |
Boolean |
true |
|
active |
Boolean |
true |
|
mfaProvider |
String |
true |
Must be one of [None, GoogleAuthenticator]. |
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organizations/75c58d84-9dec-45a1-ac00-942d8259530d/identity-providers' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"auth0ConnectionId" : "auth0-opaque-connection",
"identityProviderName" : "Corp SAML",
"auth0ConnectionType" : "Enterprise"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 1156
{
"id" : "75c58d84-9dec-45a1-ac00-942d8259530d",
"name" : "World Wide Imports",
"label" : "WW-Imports-240",
"identityProviders" : [ {
"id" : "9ef867fd-dd0e-4fb5-8485-eca6a7f2e60a",
"organizationId" : "75c58d84-9dec-45a1-ac00-942d8259530d",
"auth0ConnectionId" : "auth0-opaque-connectionId-241",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 170618000,
"epochSecond" : 1734011060
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "d50655f4-f80c-43af-ae7b-cee52df0bbc0",
"organizationId" : "75c58d84-9dec-45a1-ac00-942d8259530d",
"auth0ConnectionId" : "auth0-opaque-connection",
"name" : "Corp SAML",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 195411000,
"epochSecond" : 1734011060
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 169223000,
"epochSecond" : 1734011060
},
"updatedAt" : null,
"deletedAt" : null,
"deleted" : false
}
OIDC Issuers
Find Oidc Issuers
GET /oidc-issuers
Response fields
Standard paging response where content
field is list of following objects:
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
issuer |
String |
true |
|
jwksUri |
String |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/oidc-issuers' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1219
[ {
"id" : "6c72dba0-a155-4804-9a70-89da12149793",
"issuer" : "https://accounts.google.com",
"jwksUri" : "https://www.googleapis.com/oauth2/v3/certs",
"active" : true,
"createdBy" : "2b6f496d-36f1-4e66-a205-8abcf1d41d74",
"createdAt" : {
"nano" : 489717000,
"epochSecond" : 1734011007
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "78b1ca94-5099-4dc5-b3a8-6bf5f7c2d200",
"issuer" : "https://9ccc1f0a-5bb6-4ede-9318-c4a360dfa758.issuer.idp",
"jwksUri" : "https://9ccc1f0a-5bb6-4ede-9318-c4a360dfa758.issuer.idp/jwks",
"active" : true,
"createdBy" : "7b16e020-1cbc-4606-b1a8-e76e6f2045c4",
"createdAt" : {
"nano" : 711305000,
"epochSecond" : 1734011058
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "7e7200aa-89b2-4259-bea2-642421a9aa7c",
"issuer" : "https://b49df898-9e71-4e9d-b876-bb4d3202e43a.issuer.idp",
"jwksUri" : "https://b49df898-9e71-4e9d-b876-bb4d3202e43a.issuer.idp/jwks",
"active" : true,
"createdBy" : "d87a8240-1a9a-474b-9430-00e30a04e1c9",
"createdAt" : {
"nano" : 835615000,
"epochSecond" : 1734011058
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
} ]
Get Oidc Issuer
GET /oidc-issuers/{id}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
issuer |
String |
true |
|
jwksUri |
String |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/oidc-issuers/930e9ecb-87b7-45b8-9721-75ba479bf0d2' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 418
{
"id" : "930e9ecb-87b7-45b8-9721-75ba479bf0d2",
"issuer" : "https://a81b8fa5-0f5a-4855-b0e9-3d8c46a20a50.issuer.idp",
"jwksUri" : "https://a81b8fa5-0f5a-4855-b0e9-3d8c46a20a50.issuer.idp/jwks",
"active" : true,
"createdBy" : "1d161513-5fc2-45ac-aebc-d2128fdf5529",
"createdAt" : {
"nano" : 89838000,
"epochSecond" : 1734011059
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Create Oidc Issuer
POST /oidc-issuers
Request fields
Path | Type | Optional | Description |
---|---|---|---|
issuer |
String |
true |
|
jwksUri |
String |
true |
|
active |
Boolean |
true |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
issuer |
String |
true |
|
jwksUri |
String |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/oidc-issuers' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"issuer" : "https://023c5f0a-14b7-48b3-ba9d-0f0fa671d030.issuer.idp",
"jwksUri" : "https://023c5f0a-14b7-48b3-ba9d-0f0fa671d030.issuer.idp/jwks",
"active" : true
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 418
{
"id" : "1057da03-4981-4143-a16c-d14fdc3a13b3",
"issuer" : "https://023c5f0a-14b7-48b3-ba9d-0f0fa671d030.issuer.idp",
"jwksUri" : "https://023c5f0a-14b7-48b3-ba9d-0f0fa671d030.issuer.idp/jwks",
"active" : true,
"createdBy" : "10db737b-7225-490a-aabd-ee4cb982c3f3",
"createdAt" : {
"nano" : 56627000,
"epochSecond" : 1734011059
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Update Oidc Issuer
PATCH /oidc-issuers/{id}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Request fields
Path | Type | Optional | Description |
---|---|---|---|
issuer |
String |
true |
|
jwksUri |
String |
true |
|
active |
Boolean |
true |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
issuer |
String |
true |
|
jwksUri |
String |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/oidc-issuers/a46c00e9-2240-4e7d-b4bd-b0102113b6f0' -i -X PATCH \
-H 'Content-Type: application/json' \
-d '{
"issuer" : "https://0597e2c6-d09a-48f5-8242-801656be099a.issuer.idp",
"jwksUri" : "https://0597e2c6-d09a-48f5-8242-801656be099a.issuer.idp/jwks",
"active" : false
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 420
{
"id" : "a46c00e9-2240-4e7d-b4bd-b0102113b6f0",
"issuer" : "https://0597e2c6-d09a-48f5-8242-801656be099a.issuer.idp",
"jwksUri" : "https://0597e2c6-d09a-48f5-8242-801656be099a.issuer.idp/jwks",
"active" : false,
"createdBy" : "477263de-b554-4678-ba9d-7f3012efd4e2",
"createdAt" : {
"nano" : 977164000,
"epochSecond" : 1734011058
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Delete Oidc Issuer
DELETE /oidc-issuers/{id}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
issuer |
String |
true |
|
jwksUri |
String |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/oidc-issuers/255f015b-8509-47e7-a9f8-318283778620' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 508
{
"id" : "255f015b-8509-47e7-a9f8-318283778620",
"issuer" : "https://c7d82aa3-9c20-42da-bbcf-ef6ffd52d209.issuer.idp",
"jwksUri" : "https://c7d82aa3-9c20-42da-bbcf-ef6ffd52d209.issuer.idp/jwks",
"active" : true,
"createdBy" : "776f954f-e298-460a-8c70-b68ca311e63d",
"createdAt" : {
"nano" : 129994000,
"epochSecond" : 1734011059
},
"deletedAt" : {
"nano" : 140194000,
"epochSecond" : 1734011059
},
"deletedBy" : "b69af23a-ba7b-4dbf-882d-3c09ae512d89",
"deleted" : true
}
OIDC Public Clients
Find Oidc Public Clients
GET /oidc-public-clients
Response fields
Standard paging response where content
field is list of following objects:
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
oidcIssuerId |
String |
true |
|
clientId |
String |
true |
|
clientSecret |
String |
true |
|
authorizationEndpoint |
String |
true |
|
tokenEndpoint |
String |
true |
|
userInfoEndpoint |
String |
true |
|
restrictedToOrganizationIds |
Array[Object] |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/oidc-public-clients' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1292
[ {
"id" : "290cc71d-cbd0-4c44-bf9e-a9d33a7314e6",
"oidcIssuerId" : "fc221f2c-e97f-4994-a29e-afc26395f6b6",
"clientId" : "{clientId}",
"clientSecret" : "{clientSecret}",
"authorizationEndpoint" : "https://{auth0-tenant}.auth0.com/authorize",
"tokenEndpoint" : "https://{auth0-tenant}.auth0.com/oauth/token",
"userInfoEndpoint" : "https://{auth0-tenant}.auth0.com/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "2b6f496d-36f1-4e66-a205-8abcf1d41d74",
"createdAt" : {
"nano" : 490667000,
"epochSecond" : 1734011007
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "f4e6fcd0-1839-4566-8828-856e42b8f156",
"oidcIssuerId" : "6c72dba0-a155-4804-9a70-89da12149793",
"clientId" : "{clientId}",
"clientSecret" : "{clientSecret}",
"authorizationEndpoint" : "https://accounts.google.com/o/oauth2/v2/auth",
"tokenEndpoint" : "https://oauth2.googleapis.com/token",
"userInfoEndpoint" : "https://openidconnect.googleapis.com/v1/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "2b6f496d-36f1-4e66-a205-8abcf1d41d74",
"createdAt" : {
"nano" : 490667000,
"epochSecond" : 1734011007
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
} ]
Get Oidc Public Client
GET /oidc-public-clients/{id}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
oidcIssuerId |
String |
true |
|
clientId |
String |
true |
|
clientSecret |
String |
true |
|
authorizationEndpoint |
String |
true |
|
tokenEndpoint |
String |
true |
|
userInfoEndpoint |
String |
true |
|
restrictedToOrganizationIds |
Array[Object] |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/oidc-public-clients/aec5da42-5eb6-4829-9add-3aeb57089326' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 776
{
"id" : "aec5da42-5eb6-4829-9add-3aeb57089326",
"oidcIssuerId" : "fca37592-0625-4b90-afa5-101b79dce9fc",
"clientId" : "clientId-ca23e583-0a11-45b9-a0c2-f8c20d2f2cb4",
"clientSecret" : "clientSecret-bd1496ad-2ada-49f7-b596-9c65fa778b10",
"authorizationEndpoint" : "https://5ad52ace-1ff5-43f1-80e7-fb81033f92d0.issuer.idp/authorize",
"tokenEndpoint" : "https://5ad52ace-1ff5-43f1-80e7-fb81033f92d0.issuer.idp/token",
"userInfoEndpoint" : "https://5ad52ace-1ff5-43f1-80e7-fb81033f92d0.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "fb41382d-3457-4e19-881a-fd07a574068b",
"createdAt" : {
"nano" : 433031000,
"epochSecond" : 1734011059
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Create Oidc Public Client
POST /oidc-public-clients
Request fields
Path | Type | Optional | Description |
---|---|---|---|
oidcIssuerId |
String |
true |
|
clientId |
String |
true |
|
clientSecret |
String |
true |
|
authorizationEndpoint |
String |
true |
|
tokenEndpoint |
String |
true |
|
userInfoEndpoint |
String |
true |
|
restrictedToOrganizationIds |
Array[Object] |
true |
|
active |
Boolean |
true |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
oidcIssuerId |
String |
true |
|
clientId |
String |
true |
|
clientSecret |
String |
true |
|
authorizationEndpoint |
String |
true |
|
tokenEndpoint |
String |
true |
|
userInfoEndpoint |
String |
true |
|
restrictedToOrganizationIds |
Array[Object] |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/oidc-public-clients' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"oidcIssuerId" : "fc19c897-4547-4bab-bcfb-72b7ba965230",
"clientId" : "clientId-09dc719c-1bfe-45c3-86e9-f3774951f017",
"clientSecret" : "clientSecret-c73ebc26-a0ad-431d-97ef-67359a984ca0",
"authorizationEndpoint" : "https://6f37bb20-d0f0-487e-9742-d5acb6be4fa9.issuer.idp/authorize",
"tokenEndpoint" : "https://6f37bb20-d0f0-487e-9742-d5acb6be4fa9.issuer.idp/token",
"userInfoEndpoint" : "https://6f37bb20-d0f0-487e-9742-d5acb6be4fa9.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 776
{
"id" : "4f69479f-67e5-4618-a85a-46d3f0f7dd6d",
"oidcIssuerId" : "fc19c897-4547-4bab-bcfb-72b7ba965230",
"clientId" : "clientId-09dc719c-1bfe-45c3-86e9-f3774951f017",
"clientSecret" : "clientSecret-c73ebc26-a0ad-431d-97ef-67359a984ca0",
"authorizationEndpoint" : "https://6f37bb20-d0f0-487e-9742-d5acb6be4fa9.issuer.idp/authorize",
"tokenEndpoint" : "https://6f37bb20-d0f0-487e-9742-d5acb6be4fa9.issuer.idp/token",
"userInfoEndpoint" : "https://6f37bb20-d0f0-487e-9742-d5acb6be4fa9.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "a44defdb-e8f8-4ca2-a259-7f542559a0ab",
"createdAt" : {
"nano" : 396113000,
"epochSecond" : 1734011059
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Update Oidc Public Client
PATCH /oidc-public-clients/{id}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Request fields
Path | Type | Optional | Description |
---|---|---|---|
clientId |
String |
true |
|
clientSecret |
String |
true |
|
authorizationEndpoint |
String |
true |
|
tokenEndpoint |
String |
true |
|
userInfoEndpoint |
String |
true |
|
restrictedToOrganizationIds |
Array[Object] |
true |
|
active |
Boolean |
true |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
oidcIssuerId |
String |
true |
|
clientId |
String |
true |
|
clientSecret |
String |
true |
|
authorizationEndpoint |
String |
true |
|
tokenEndpoint |
String |
true |
|
userInfoEndpoint |
String |
true |
|
restrictedToOrganizationIds |
Array[Object] |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/oidc-public-clients/2b025294-5fa8-4867-bc60-740b0640194e' -i -X PATCH \
-H 'Content-Type: application/json' \
-d '{
"clientId" : "clientId-83de7954-4acd-432a-a5f0-fd15d997672f",
"clientSecret" : "clientSecret-95150a12-8845-4bf4-8761-602c1806c84b",
"authorizationEndpoint" : "https://a906d724-ad1f-4f21-bfd6-63295b8aea5a.issuer.idp/authorize",
"tokenEndpoint" : "https://a906d724-ad1f-4f21-bfd6-63295b8aea5a.issuer.idp/token",
"userInfoEndpoint" : "https://a906d724-ad1f-4f21-bfd6-63295b8aea5a.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : false
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 777
{
"id" : "2b025294-5fa8-4867-bc60-740b0640194e",
"oidcIssuerId" : "45f07ef7-257a-45b5-a3cb-882a792dffdf",
"clientId" : "clientId-83de7954-4acd-432a-a5f0-fd15d997672f",
"clientSecret" : "clientSecret-95150a12-8845-4bf4-8761-602c1806c84b",
"authorizationEndpoint" : "https://a906d724-ad1f-4f21-bfd6-63295b8aea5a.issuer.idp/authorize",
"tokenEndpoint" : "https://a906d724-ad1f-4f21-bfd6-63295b8aea5a.issuer.idp/token",
"userInfoEndpoint" : "https://a906d724-ad1f-4f21-bfd6-63295b8aea5a.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : false,
"createdBy" : "98edf3df-3f39-4527-b092-1294912ec50a",
"createdAt" : {
"nano" : 285075000,
"epochSecond" : 1734011059
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Delete Oidc Public Client
DELETE /oidc-public-clients/{id}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
oidcIssuerId |
String |
true |
|
clientId |
String |
true |
|
clientSecret |
String |
true |
|
authorizationEndpoint |
String |
true |
|
tokenEndpoint |
String |
true |
|
userInfoEndpoint |
String |
true |
|
restrictedToOrganizationIds |
Array[Object] |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/oidc-public-clients/60547e17-1687-4879-839c-a42c8221dff4' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 865
{
"id" : "60547e17-1687-4879-839c-a42c8221dff4",
"oidcIssuerId" : "3221f42e-157d-49d7-938c-5eff266b5c08",
"clientId" : "clientId-fb2c3727-af3f-4e6c-af73-de5434ed293b",
"clientSecret" : "clientSecret-25804d40-268a-4ea9-b2bf-91766e0579ec",
"authorizationEndpoint" : "https://7c4c6400-78b1-44e1-9225-0e4e15f3649d.issuer.idp/authorize",
"tokenEndpoint" : "https://7c4c6400-78b1-44e1-9225-0e4e15f3649d.issuer.idp/token",
"userInfoEndpoint" : "https://7c4c6400-78b1-44e1-9225-0e4e15f3649d.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "0a17fa82-5011-41e3-b62b-abf3ac36652a",
"createdAt" : {
"nano" : 500561000,
"epochSecond" : 1734011059
},
"deletedAt" : {
"nano" : 519134000,
"epochSecond" : 1734011059
},
"deletedBy" : "841dcdd8-436a-46c4-9b2b-bc0f4050f302",
"deleted" : true
}
Organization to OIDC Public Client Mappings
Find Organization Oidc Public Client Mappings
GET /organization-oidc-public-client-mappings
Authorization
This endpoint requires:
-
read
action on thisorganization-oidc-public-client-mapping
resource.
Response fields
Standard paging response where content
field is list of following objects:
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
oidcPublicClientId |
String |
true |
|
name |
String |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organization-oidc-public-client-mappings' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1314
[ {
"id" : "15fb2a40-654a-4afc-a5a9-2c02ce93315f",
"organizationId" : "f86122fb-316b-4427-8c38-248165bf4504",
"oidcPublicClientId" : "f4e6fcd0-1839-4566-8828-856e42b8f156",
"name" : "NFSUPPORT Google Account",
"active" : true,
"createdBy" : "2b6f496d-36f1-4e66-a205-8abcf1d41d74",
"createdAt" : {
"nano" : 109208000,
"epochSecond" : 1734011007
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "4ab5939d-9075-4a31-bee1-17289aa30cbc",
"organizationId" : "cc2433a9-c951-4a30-a57f-c23567fe7b87",
"oidcPublicClientId" : "f4e6fcd0-1839-4566-8828-856e42b8f156",
"name" : "NFSUPPORT-RO Google Account",
"active" : true,
"createdBy" : "2b6f496d-36f1-4e66-a205-8abcf1d41d74",
"createdAt" : {
"nano" : 147682000,
"epochSecond" : 1734011007
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "c0ea68e2-49d3-43d3-a67d-3984ee3dfbfd",
"organizationId" : "95068bb0-864b-4930-b06e-9acf4957c826",
"oidcPublicClientId" : "f4e6fcd0-1839-4566-8828-856e42b8f156",
"name" : "NetFoundry Google Account",
"active" : true,
"createdBy" : "2b6f496d-36f1-4e66-a205-8abcf1d41d74",
"createdAt" : {
"nano" : 240544000,
"epochSecond" : 1734011007
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
} ]
Get Organization Oidc Public Client Mapping
GET /organization-oidc-public-client-mappings/{id}
Authorization
This endpoint requires:
-
read
action on thisorganization-oidc-public-client-mapping
resource.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
oidcPublicClientId |
String |
true |
|
name |
String |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organization-oidc-public-client-mappings/f2f81335-241b-438f-bd1a-0b6e9f9221b4' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 461
{
"id" : "f2f81335-241b-438f-bd1a-0b6e9f9221b4",
"organizationId" : "b7f3c17b-0323-49dc-bdd7-4f91a7518120",
"oidcPublicClientId" : "125b323f-b64b-4239-9360-064f55cd714a",
"name" : "console-client-f413cede-dcce-4412-b0d6-fcf64b911134",
"active" : true,
"createdBy" : "e47fc695-2520-4011-a7d2-f4cabfdb36f2",
"createdAt" : {
"nano" : 871259000,
"epochSecond" : 1734011060
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Create Organization Oidc Public Client Mapping
POST /organization-oidc-public-client-mappings
Authorization
This endpoint requires:
-
create
action on thisorganization-oidc-public-client-mapping
resource. -
read
action on theoidc-public-client
resource identified by theoidcPublicClientId
property.
Request fields
Path | Type | Optional | Description |
---|---|---|---|
organizationId |
String |
true |
|
oidcPublicClientId |
String |
true |
|
name |
String |
true |
|
active |
Boolean |
true |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
oidcPublicClientId |
String |
true |
|
name |
String |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organization-oidc-public-client-mappings' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"organizationId" : "ad459ee1-2413-4630-b0ba-3b893d78a45c",
"oidcPublicClientId" : "253abff8-03bc-4904-809b-a9430a997481",
"name" : "console-client-d79f3df1-3564-4608-9f34-d62b022c9c7a",
"active" : true
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 461
{
"id" : "8087436f-9d28-4402-b7a0-1e10866e70f6",
"organizationId" : "ad459ee1-2413-4630-b0ba-3b893d78a45c",
"oidcPublicClientId" : "253abff8-03bc-4904-809b-a9430a997481",
"name" : "console-client-d79f3df1-3564-4608-9f34-d62b022c9c7a",
"active" : true,
"createdBy" : "2dac39da-5e31-4ff7-a6df-1b8d23309bda",
"createdAt" : {
"nano" : 819614000,
"epochSecond" : 1734011060
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Update Organization Oidc Public Client Mapping
PATCH /organization-oidc-public-client-mappings/{id}
Authorization
This endpoint requires:
-
update
action on thisorganization-oidc-public-client-mapping
resource.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Request fields
Path | Type | Optional | Description |
---|---|---|---|
name |
String |
true |
|
active |
Boolean |
true |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
oidcPublicClientId |
String |
true |
|
name |
String |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organization-oidc-public-client-mappings/ded19b55-c88c-441f-886d-452ca1d74ec0' -i -X PATCH \
-H 'Content-Type: application/json' \
-d '{
"name" : "custom-client-72d529ef-7cf7-4695-8009-7b3555b49d49",
"active" : false
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 461
{
"id" : "ded19b55-c88c-441f-886d-452ca1d74ec0",
"organizationId" : "31608749-9dda-4447-9d92-2b9a9cd30ca2",
"oidcPublicClientId" : "26c1221d-6b89-4da3-8db4-72266f8d605c",
"name" : "custom-client-72d529ef-7cf7-4695-8009-7b3555b49d49",
"active" : false,
"createdBy" : "6709fa40-dfd2-4952-a4e2-3182d899d495",
"createdAt" : {
"nano" : 698465000,
"epochSecond" : 1734011060
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Delete Organization Oidc Public Client Mapping
DELETE /organization-oidc-public-client-mappings/{id}
Authorization
This endpoint requires:
-
delete
action on thisorganization-oidc-public-client-mapping
resource.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
oidcPublicClientId |
String |
true |
|
name |
String |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organization-oidc-public-client-mappings/a14fba61-a778-436c-a0e8-94b1f530c534' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 550
{
"id" : "a14fba61-a778-436c-a0e8-94b1f530c534",
"organizationId" : "e098c600-cbf0-4b78-bc0b-6877201862b4",
"oidcPublicClientId" : "a3edad6c-1906-427b-bae2-11f3ad52d182",
"name" : "console-client-fd458291-4f59-44cd-a7de-87ac6bc50be4",
"active" : true,
"createdBy" : "3e1402c5-03da-4395-beb5-939faeb03f0a",
"createdAt" : {
"nano" : 927864000,
"epochSecond" : 1734011060
},
"deletedAt" : {
"nano" : 942074000,
"epochSecond" : 1734011060
},
"deletedBy" : "e87617ec-705c-4cb9-8c5d-d96c6bcc1e84",
"deleted" : true
}
OIDC Audiences
Find Oidc Audiences
GET /oidc-audiences
Response fields
Standard paging response where content
field is list of following objects:
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
oidcIssuerId |
String |
true |
|
audience |
String |
true |
|
restrictedToOrganizationIds |
Array[Object] |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/oidc-audiences' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 850
[ {
"id" : "6a4f65ad-9db8-4ea7-b404-1d5c5f85cbdf",
"oidcIssuerId" : "fc221f2c-e97f-4994-a29e-afc26395f6b6",
"audience" : "https://gateway.{env}.netfoundry.io/",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "2b6f496d-36f1-4e66-a205-8abcf1d41d74",
"createdAt" : {
"nano" : 495983000,
"epochSecond" : 1734011007
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "b71d8edd-6bf1-4ed3-84e8-f3b5fe82868f",
"oidcIssuerId" : "6c72dba0-a155-4804-9a70-89da12149793",
"audience" : "https://gateway.{env}.netfoundry.io/",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "2b6f496d-36f1-4e66-a205-8abcf1d41d74",
"createdAt" : {
"nano" : 495983000,
"epochSecond" : 1734011007
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
} ]
Get Oidc Audience
GET /oidc-audiences/{id}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
oidcIssuerId |
String |
true |
|
audience |
String |
true |
|
restrictedToOrganizationIds |
Array[Object] |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/oidc-audiences/05bc7aa6-6613-4e48-9bac-bfa47c362258' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 430
{
"id" : "05bc7aa6-6613-4e48-9bac-bfa47c362258",
"oidcIssuerId" : "eece8336-86fa-435d-bc83-eed3be52a5e5",
"audience" : "mop-aud-cd5a95f9-2366-4bc1-8974-ae21f18fadeb",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "952c818b-1d54-4916-82a8-5dc65fac7b66",
"createdAt" : {
"nano" : 785522000,
"epochSecond" : 1734011058
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Create Oidc Audience
POST /oidc-audiences
Request fields
Path | Type | Optional | Description |
---|---|---|---|
oidcIssuerId |
String |
true |
|
audience |
String |
true |
|
restrictedToOrganizationIds |
Array[Object] |
true |
|
active |
Boolean |
true |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
oidcIssuerId |
String |
true |
|
audience |
String |
true |
|
restrictedToOrganizationIds |
Array[Object] |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/oidc-audiences' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"oidcIssuerId" : "78b1ca94-5099-4dc5-b3a8-6bf5f7c2d200",
"audience" : "mop-aud-40ab8464-7c6f-445a-860b-d4dcd2deda98",
"restrictedToOrganizationIds" : [ ],
"active" : true
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 430
{
"id" : "b3403302-7e92-49d2-a6e7-dd341cedbd3a",
"oidcIssuerId" : "78b1ca94-5099-4dc5-b3a8-6bf5f7c2d200",
"audience" : "mop-aud-40ab8464-7c6f-445a-860b-d4dcd2deda98",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "b5d7e690-ddd3-4ef8-a9c5-0e582318a8ab",
"createdAt" : {
"nano" : 741308000,
"epochSecond" : 1734011058
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Update Oidc Audience
PATCH /oidc-audiences/{id}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Request fields
Path | Type | Optional | Description |
---|---|---|---|
audience |
String |
true |
|
restrictedToOrganizationIds |
Array[Object] |
true |
|
active |
Boolean |
true |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
oidcIssuerId |
String |
true |
|
audience |
String |
true |
|
restrictedToOrganizationIds |
Array[Object] |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/oidc-audiences/d9f563cd-5b30-4c66-81b5-5df1a5d8c344' -i -X PATCH \
-H 'Content-Type: application/json' \
-d '{
"audience" : "mop-aud-e1871095-1b1a-4de0-a2d4-217880e6fc73",
"restrictedToOrganizationIds" : [ ],
"active" : false
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 431
{
"id" : "d9f563cd-5b30-4c66-81b5-5df1a5d8c344",
"oidcIssuerId" : "d024404a-c0b4-42d9-9ca6-224ececf4fd9",
"audience" : "mop-aud-e1871095-1b1a-4de0-a2d4-217880e6fc73",
"restrictedToOrganizationIds" : [ ],
"active" : false,
"createdBy" : "8ae5567d-dbd6-4367-b067-a43a89e1bfb0",
"createdAt" : {
"nano" : 601710000,
"epochSecond" : 1734011058
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Delete Oidc Audience
DELETE /oidc-audiences/{id}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
oidcIssuerId |
String |
true |
|
audience |
String |
true |
|
restrictedToOrganizationIds |
Array[Object] |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/oidc-audiences/cb468e1c-8472-4dc3-9bb1-88f6c8ce3867' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 519
{
"id" : "cb468e1c-8472-4dc3-9bb1-88f6c8ce3867",
"oidcIssuerId" : "7e7200aa-89b2-4259-bea2-642421a9aa7c",
"audience" : "mop-aud-5443337b-a7dd-454e-bdf8-83413f6aa2ef",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "cbe73f81-6476-48c2-9c16-541c05b6e181",
"createdAt" : {
"nano" : 839370000,
"epochSecond" : 1734011058
},
"deletedAt" : {
"nano" : 853339000,
"epochSecond" : 1734011058
},
"deletedBy" : "fa366e80-defa-4117-8d4e-8d5de5210e3a",
"deleted" : true
}
User Identity to OIDC Audience Mappings
Find User Identity Audience Mappings
GET /user-identity-oidc-audience-mappings
Authorization
This endpoint requires:
-
read
action on thisuser-identity-oidc-audience-mapping
resource.
Response fields
Standard paging response where content
field is list of following objects:
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
userIdentityId |
String |
true |
|
oidcAudienceId |
String |
true |
|
subject |
String |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identity-oidc-audience-mappings' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 3
[ ]
Get User Identity Audience Mapping
GET /user-identity-oidc-audience-mappings/{id}
Authorization
This endpoint requires:
-
read
action on thisuser-identity-oidc-audience-mapping
resource.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
userIdentityId |
String |
true |
|
oidcAudienceId |
String |
true |
|
subject |
String |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identity-oidc-audience-mappings/781db50a-fac2-4c5a-b897-6cf7b8c5dcd0' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 460
{
"id" : "781db50a-fac2-4c5a-b897-6cf7b8c5dcd0",
"userIdentityId" : "8fc91436-7611-4e5c-92d9-5016241fb6f9",
"oidcAudienceId" : "63a1feca-0435-47fc-9c27-96b77099aef6",
"subject" : "console-client-8c7909d0-3003-4eeb-9078-81af301139bf",
"active" : true,
"createdBy" : "84d2360b-5f7e-4e31-9d23-f796d0fea5e5",
"createdAt" : {
"nano" : 319716000,
"epochSecond" : 1734011063
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Create User Identity Audience Mapping
POST /user-identity-oidc-audience-mappings
Authorization
This endpoint requires:
-
create
action on thisuser-identity-oidc-audience-mapping
resource. -
create-identity-mapping
action on theuser-identity
resource identified by theuserIdentityId
property. -
read
action on theoidc-audience
resource identified by theoidcAudienceId
property.
Request fields
Path | Type | Optional | Description |
---|---|---|---|
userIdentityId |
String |
true |
|
oidcAudienceId |
String |
true |
|
subject |
String |
true |
|
active |
Boolean |
true |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
userIdentityId |
String |
true |
|
oidcAudienceId |
String |
true |
|
subject |
String |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identity-oidc-audience-mappings' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"userIdentityId" : "0e855cb7-f393-490b-be5b-92f82d71c47c",
"oidcAudienceId" : "61ae47d3-8f94-4ced-9330-229784109c85",
"subject" : "console-client-489253d7-6900-4605-8b4a-95971514fc16",
"active" : true
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 460
{
"id" : "6a9a8cfa-515b-497e-90d6-d48c2b10262d",
"userIdentityId" : "0e855cb7-f393-490b-be5b-92f82d71c47c",
"oidcAudienceId" : "61ae47d3-8f94-4ced-9330-229784109c85",
"subject" : "console-client-489253d7-6900-4605-8b4a-95971514fc16",
"active" : true,
"createdBy" : "b77e7eb1-346b-4c20-899b-c795a2167ce9",
"createdAt" : {
"nano" : 249462000,
"epochSecond" : 1734011063
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Update User Identity Audience Mapping
PATCH /user-identity-oidc-audience-mappings/{id}
Authorization
This endpoint requires:
-
update
action on thisuser-identity-oidc-audience-mapping
resource.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Request fields
Path | Type | Optional | Description |
---|---|---|---|
active |
Boolean |
true |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
userIdentityId |
String |
true |
|
oidcAudienceId |
String |
true |
|
subject |
String |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identity-oidc-audience-mappings/cc1779d5-979a-45c0-a146-f91a30c3e9fa' -i -X PATCH \
-H 'Content-Type: application/json' \
-d '{
"active" : false
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 461
{
"id" : "cc1779d5-979a-45c0-a146-f91a30c3e9fa",
"userIdentityId" : "126be3ba-98c0-407c-b7bd-61567a508e4d",
"oidcAudienceId" : "d0d5e795-060d-43f2-81e5-abf968eba4ac",
"subject" : "console-client-d8be10a1-0480-420e-b393-7b01e4c32e0d",
"active" : false,
"createdBy" : "aa6d7713-9d1f-489b-81d1-3b66018f26aa",
"createdAt" : {
"nano" : 166223000,
"epochSecond" : 1734011063
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Delete User Identity Audience Mapping
DELETE /user-identity-oidc-audience-mappings/{id}
Authorization
This endpoint requires:
-
delete
action on thisuser-identity-oidc-audience-mapping
resource.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
userIdentityId |
String |
true |
|
oidcAudienceId |
String |
true |
|
subject |
String |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identity-oidc-audience-mappings/aa866474-eee7-4fd0-869e-c325a3bb6cb6' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 549
{
"id" : "aa866474-eee7-4fd0-869e-c325a3bb6cb6",
"userIdentityId" : "9b1405e8-4fac-43b0-bd68-4a714f72d669",
"oidcAudienceId" : "1a80bf91-65dc-4d98-97f2-cc6226017116",
"subject" : "console-client-4f6e136e-19a3-44c1-ae90-11bea0228cb6",
"active" : true,
"createdBy" : "88589f47-bcfc-4032-b583-e4e5aebbad73",
"createdAt" : {
"nano" : 372873000,
"epochSecond" : 1734011063
},
"deletedAt" : {
"nano" : 388204000,
"epochSecond" : 1734011063
},
"deletedBy" : "bf8b6932-365f-4189-bd46-1479d9c6cd14",
"deleted" : true
}
Identity Providers
Find Identity Providers
GET /identity-providers
Query parameters
Supports standard paging query parameters.
Parameter | Type | Optional | Description |
---|---|---|---|
name |
String |
true |
|
organizationId |
Object |
true |
|
auth0ConnectionId |
Object |
true |
|
auth0ConnectionType |
Object |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
active |
Boolean |
true |
|
deleted |
Object |
true |
Response fields
Standard paging response where content
field is list of following objects:
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
auth0ConnectionId |
String |
true |
|
name |
String |
true |
|
auth0ConnectionType |
String |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identity-providers' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1160
[ {
"id" : "11b150ab-5ef2-49e5-a555-6109b387d79d",
"organizationId" : "c8e73c5c-6e05-4cad-9ae1-ad5d40e792ac",
"auth0ConnectionId" : "auth0-opaque-connectionId-34",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 784355000,
"epochSecond" : 1734011052
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "21faad37-d6b0-4af0-a416-d39b78cd841c",
"organizationId" : "ff9ed725-8ce1-479b-9126-625b4bfa5fb5",
"auth0ConnectionId" : "auth0-opaque-connectionId-98",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 727510000,
"epochSecond" : 1734011054
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "2284493a-7870-47da-bd29-aa9cd2882ac6",
"organizationId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"auth0ConnectionId" : "auth0-opaque-connectionId-1",
"name" : "ACME Federated Active Directory",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 745125000,
"epochSecond" : 1734011011
},
"updatedAt" : null,
"deletedAt" : null
} ]
Get Identity Provider
GET /identity-providers/{id}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
auth0ConnectionId |
String |
true |
|
name |
String |
true |
|
auth0ConnectionType |
String |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identity-providers/2284493a-7870-47da-bd29-aa9cd2882ac6' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 394
{
"id" : "2284493a-7870-47da-bd29-aa9cd2882ac6",
"organizationId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"auth0ConnectionId" : "auth0-opaque-connectionId-1",
"name" : "ACME Federated Active Directory",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 745125000,
"epochSecond" : 1734011011
},
"updatedAt" : null,
"deletedAt" : null
}
Create Identity Provider
POST /identity-providers
Request fields
Path | Type | Optional | Description |
---|---|---|---|
organizationId |
String |
true |
|
auth0ConnectionId |
String |
true |
|
name |
String |
true |
|
auth0ConnectionType |
String |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
auth0ConnectionId |
String |
true |
|
name |
String |
true |
|
auth0ConnectionType |
String |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identity-providers' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"organizationId" : "6ddae125-23b9-4350-8a14-2ad7b90c8911",
"auth0ConnectionId" : "auth0-opaque-connection",
"name" : "Corp SAML",
"auth0ConnectionType" : "Enterprise"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 368
{
"id" : "c7004f50-112e-4c0a-875b-65dc3a00cf7a",
"organizationId" : "6ddae125-23b9-4350-8a14-2ad7b90c8911",
"auth0ConnectionId" : "auth0-opaque-connection",
"name" : "Corp SAML",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 155999000,
"epochSecond" : 1734011057
},
"updatedAt" : null,
"deletedAt" : null
}
Update Identity Provider
PUT /identity-providers/{id}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Request fields
Path | Type | Optional | Description |
---|---|---|---|
name |
String |
true |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
auth0ConnectionId |
String |
true |
|
name |
String |
true |
|
auth0ConnectionType |
String |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identity-providers/c7c30408-4df9-42b7-afd6-2160529640bd' -i -X PUT \
-H 'Content-Type: application/json' \
-d '{
"name" : "New IdP Name"
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 431
{
"id" : "c7c30408-4df9-42b7-afd6-2160529640bd",
"organizationId" : "307cacb0-485d-434c-8506-be809bf03248",
"auth0ConnectionId" : "auth0-opaque-connectionId-209",
"name" : "New IdP Name",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 401053000,
"epochSecond" : 1734011057
},
"updatedAt" : {
"nano" : 424619000,
"epochSecond" : 1734011057
},
"deletedAt" : null
}
Activate Or Deactivate Identity Provider
PUT /identity-providers/{id}/{action:activate|deactivate}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
|
action |
String |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
auth0ConnectionId |
String |
true |
|
name |
String |
true |
|
auth0ConnectionType |
String |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identity-providers/fcc7a82c-7153-4b20-ab8c-ebfd1c447e76/activate' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 380
{
"id" : "fcc7a82c-7153-4b20-ab8c-ebfd1c447e76",
"organizationId" : "1f420446-0b8f-4653-97e7-3344ece7c0f9",
"auth0ConnectionId" : "auth0-opaque-connectionId-203",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 223165000,
"epochSecond" : 1734011057
},
"updatedAt" : null,
"deletedAt" : null
}
Delete Identity Provider
DELETE /identity-providers/{id}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
auth0ConnectionId |
String |
true |
|
name |
String |
true |
|
auth0ConnectionType |
String |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identity-providers/598052cd-d2d6-4c44-a5db-50ea0803b472' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 492
{
"id" : "598052cd-d2d6-4c44-a5db-50ea0803b472",
"organizationId" : "ab5a3ffa-a29e-4065-9b56-e7665091528d",
"auth0ConnectionId" : "auth0-opaque-connectionId-207",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 333527000,
"epochSecond" : 1734011057
},
"updatedAt" : {
"nano" : 361684000,
"epochSecond" : 1734011057
},
"deletedAt" : {
"nano" : 361000000,
"epochSecond" : 1734011057
}
}
Default Roles
Find Default Roles
GET /default-roles
Response fields
Standard paging response where content
field is list of following objects:
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
name |
String |
true |
|
roleType |
String |
true |
Must be one of [Standard, Custom]. |
roleId |
String |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/default-roles' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1365
[ {
"id" : "17b5bf1e-9a12-49b1-afb0-4c94f862e2fc",
"organizationId" : "f86122fb-316b-4427-8c38-248165bf4504",
"name" : "Standard Role Admin - Network Group Admin of NF Support (NFSUP)",
"roleType" : "Standard",
"roleId" : "ddd39147-0ce2-473d-93c7-25b1b404433d",
"createdBy" : "2b6f496d-36f1-4e66-a205-8abcf1d41d74",
"createdAt" : {
"nano" : 180409000,
"epochSecond" : 1734011007
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "1c27f8da-1fdf-4d11-b1e7-3ba42c20a4f0",
"organizationId" : "cc2433a9-c951-4a30-a57f-c23567fe7b87",
"name" : "Network Group Admin - NF Support (NFSUP) Network Group",
"roleType" : "Standard",
"roleId" : "cf53e966-a3ad-4e80-a5fc-380fe8d48e57",
"createdBy" : "2b6f496d-36f1-4e66-a205-8abcf1d41d74",
"createdAt" : {
"nano" : 180409000,
"epochSecond" : 1734011007
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "365f6151-cd0f-45c8-b812-60c716f3fabf",
"organizationId" : "cc2433a9-c951-4a30-a57f-c23567fe7b87",
"name" : "NF Support - Observation",
"roleType" : "Custom",
"roleId" : "f1e3d5d9-2899-4df7-89ab-297d29cc54bc",
"createdBy" : "2b6f496d-36f1-4e66-a205-8abcf1d41d74",
"createdAt" : {
"nano" : 149296000,
"epochSecond" : 1734011007
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
} ]
Get Default Role
GET /default-roles/{id}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
name |
String |
true |
|
roleType |
String |
true |
Must be one of [Standard, Custom]. |
roleId |
String |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/default-roles/3fcd5b22-80c1-401c-a204-9d2b31d5a66a' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 419
{
"id" : "3fcd5b22-80c1-401c-a204-9d2b31d5a66a",
"organizationId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"name" : "Test Std Role",
"roleType" : "Standard",
"roleId" : "6110ce43-a724-494f-9990-e4088458f5fd",
"createdBy" : "babf4465-ef86-4dc3-be51-fe0c3af95f7e",
"createdAt" : {
"nano" : 764663000,
"epochSecond" : 1734011011
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Create Default Role
POST /default-roles
Authorization
This endpoint requires:
-
create
action on thisdefault-role
resource. -
update
action on theorganization
resource identified by theorganization
property.
Request fields
Path | Type | Optional | Description |
---|---|---|---|
organizationId |
String |
true |
|
roleType |
String |
true |
Must be one of [Standard, Custom]. |
roleId |
String |
true |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
name |
String |
true |
|
roleType |
String |
true |
Must be one of [Standard, Custom]. |
roleId |
String |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/default-roles' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"organizationId" : "f8441771-f337-4d7a-9f21-4bef5a6277ae",
"roleType" : "Standard",
"roleId" : "0f5240e8-b705-48a8-83be-ea10ed502f8c"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 458
{
"id" : "be31c7dc-4d65-4a86-bd28-26188ce941e2",
"organizationId" : "f8441771-f337-4d7a-9f21-4bef5a6277ae",
"name" : "Standard Role - 0f5240e8-b705-48a8-83be-ea10ed502f8c",
"roleType" : "Standard",
"roleId" : "0f5240e8-b705-48a8-83be-ea10ed502f8c",
"createdBy" : "79b6c585-53c5-4015-add4-8220078bfad1",
"createdAt" : {
"nano" : 491410000,
"epochSecond" : 1734011053
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Delete Default Role
DELETE /default-roles/{id}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
name |
String |
true |
|
roleType |
String |
true |
Must be one of [Standard, Custom]. |
roleId |
String |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/default-roles/76ef33c6-0010-4242-8518-2c4af3308503' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 508
{
"id" : "76ef33c6-0010-4242-8518-2c4af3308503",
"organizationId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"name" : "Test Deletion",
"roleType" : "Standard",
"roleId" : "948d0bce-2819-43f5-a18b-48b5e73ab873",
"createdBy" : "eafa4a81-ffd5-47dd-a73e-2d0ce7d6f7d5",
"createdAt" : {
"nano" : 170090000,
"epochSecond" : 1734011053
},
"deletedAt" : {
"nano" : 188000000,
"epochSecond" : 1734011053
},
"deletedBy" : "3f873a53-5f70-4542-aeb2-30f36254f78d",
"deleted" : true
}
Grant Default Role
POST /default-roles/{id}/grant
Authorization
This endpoint requires:
-
read
action on thisdefault-role
resource. -
create
action on theinvitation
resource identified by theorganization
property.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Request fields
No request body.
Response fields
No response body.
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/default-roles/b5fdb227-b935-43cc-a5d4-493462a08b0a/grant' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"includeIdentityIds" : [ "46b453f0-1ed5-483d-9982-7ed607fc816e", "28b10291-f88f-4da1-9213-ea7d5892e580", "8c5af1f6-6163-4bc8-85a9-310deca754ed" ],
"excludeIdentityIds" : [ "28b10291-f88f-4da1-9213-ea7d5892e580", "8c5af1f6-6163-4bc8-85a9-310deca754ed", "d54a5388-b37c-4c42-ac0d-a72f784fbccf" ]
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 51
{
"46b453f0-1ed5-483d-9982-7ed607fc816e" : true
}
User Identity
Get Identity
GET /identities/self
Authorization
This endpoint requires no specific permission, only an authenticated client.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
active |
Boolean |
true |
|
deletedAt |
Object |
true |
|
String |
true |
||
tenantId |
String |
true |
Deprecated.. |
organizationId |
String |
true |
|
createdAt |
Object |
true |
|
name |
String |
true |
|
id |
String |
true |
|
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identities/self' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 718
{
"id" : "26464bc1-2fb0-4219-9394-9a8d67b27dbd",
"organizationId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"firstName" : "First",
"lastName" : "Last",
"email" : "random-283@acme.com",
"identityMappings" : [ {
"id" : "25fef226-ab11-422c-96f2-9814103e8bc7",
"auth0UserId" : "auth0-opaque-userId-284",
"identityProviderId" : "2284493a-7870-47da-bd29-aa9cd2882ac6",
"userIdentityId" : "26464bc1-2fb0-4219-9394-9a8d67b27dbd"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 225739000,
"epochSecond" : 1734011062
},
"deletedAt" : null,
"tenantId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"name" : "First Last",
"type" : "UserIdentity"
}
Get Identity
GET /identities/{id:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
active |
Boolean |
true |
|
deletedAt |
Object |
true |
|
String |
true |
||
tenantId |
String |
true |
Deprecated.. |
organizationId |
String |
true |
|
createdAt |
Object |
true |
|
name |
String |
true |
|
id |
String |
true |
|
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identities/3afd38c9-0419-4354-bf34-b4e6fbd41883' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 710
{
"id" : "3afd38c9-0419-4354-bf34-b4e6fbd41883",
"organizationId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"firstName" : "John",
"lastName" : "Doe",
"email" : "john.doe@acme.com",
"identityMappings" : [ {
"id" : "366631c5-e71c-490e-98bc-ddad9291ecaa",
"auth0UserId" : "auth0-opaque-userId-3",
"identityProviderId" : "2284493a-7870-47da-bd29-aa9cd2882ac6",
"userIdentityId" : "3afd38c9-0419-4354-bf34-b4e6fbd41883"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 899788000,
"epochSecond" : 1734011011
},
"deletedAt" : null,
"tenantId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"name" : "John Doe",
"type" : "UserIdentity"
}
Find User Identities
GET /user-identities
Response fields
Standard paging response where content
field is list of following objects:
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
firstName |
String |
true |
|
lastName |
String |
true |
|
String |
true |
||
identityMappings |
Array[Object] |
true |
|
identityMappings[].id |
String |
true |
|
identityMappings[].auth0UserId |
String |
true |
|
identityMappings[].identityProviderId |
String |
true |
|
identityMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings |
Array[Object] |
true |
|
identityAudienceMappings[].id |
String |
true |
|
identityAudienceMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings[].oidcAudienceId |
String |
true |
|
identityAudienceMappings[].subject |
String |
true |
|
identityAudienceMappings[].active |
Boolean |
true |
|
identityAudienceMappings[].createdBy |
String |
true |
|
identityAudienceMappings[].createdAt |
Object |
true |
|
identityAudienceMappings[].deletedAt |
Object |
true |
|
identityAudienceMappings[].deletedBy |
String |
true |
|
identityAudienceMappings[].deleted |
Boolean |
true |
|
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
tenantId |
String |
true |
Deprecated.. |
name |
String |
true |
|
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 2170
[ {
"id" : "0136d3e7-892e-433d-bbfe-9c242b4ef58e",
"organizationId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"firstName" : "TESTING",
"lastName" : "CLIENT",
"email" : "test.client@server.com",
"identityMappings" : [ {
"id" : "2a7dbc16-17a7-41f7-914b-8de7faa8a3ba",
"auth0UserId" : "auth0-opaque-userId-6",
"identityProviderId" : "2284493a-7870-47da-bd29-aa9cd2882ac6",
"userIdentityId" : "0136d3e7-892e-433d-bbfe-9c242b4ef58e"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 950930000,
"epochSecond" : 1734011011
},
"deletedAt" : null,
"tenantId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"name" : "TESTING CLIENT",
"type" : "UserIdentity"
}, {
"id" : "02d39a96-f287-4a77-bce7-cdd14ce5cfe5",
"organizationId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"firstName" : "First",
"lastName" : "Last",
"email" : "random-289@acme.com",
"identityMappings" : [ {
"id" : "3c58c92c-a8ac-4fd6-b733-5f2c6d52b4dd",
"auth0UserId" : "auth0-opaque-userId-290",
"identityProviderId" : "2284493a-7870-47da-bd29-aa9cd2882ac6",
"userIdentityId" : "02d39a96-f287-4a77-bce7-cdd14ce5cfe5"
} ],
"identityAudienceMappings" : [ ],
"active" : false,
"createdAt" : {
"nano" : 599506000,
"epochSecond" : 1734011062
},
"deletedAt" : null,
"tenantId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"name" : "First Last",
"type" : "UserIdentity"
}, {
"id" : "07d53139-daec-43a9-abeb-3daaa25c1f71",
"organizationId" : "d34d1fa8-dcb5-43af-8dd3-9890216e0334",
"firstName" : "First",
"lastName" : "Last",
"email" : "random-53@acme.com",
"identityMappings" : [ {
"id" : "8670c894-0993-4eff-ac59-c820e4655fbc",
"auth0UserId" : "auth0-opaque-userId-54",
"identityProviderId" : "60a862de-09dc-462d-b9d5-a5374e1e2553",
"userIdentityId" : "07d53139-daec-43a9-abeb-3daaa25c1f71"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 256559000,
"epochSecond" : 1734011053
},
"deletedAt" : null,
"tenantId" : "d34d1fa8-dcb5-43af-8dd3-9890216e0334",
"name" : "First Last",
"type" : "UserIdentity"
} ]
Get User Identity
GET /user-identities/{id:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
firstName |
String |
true |
|
lastName |
String |
true |
|
String |
true |
||
identityMappings |
Array[Object] |
true |
|
identityMappings[].id |
String |
true |
|
identityMappings[].auth0UserId |
String |
true |
|
identityMappings[].identityProviderId |
String |
true |
|
identityMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings |
Array[Object] |
true |
|
identityAudienceMappings[].id |
String |
true |
|
identityAudienceMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings[].oidcAudienceId |
String |
true |
|
identityAudienceMappings[].subject |
String |
true |
|
identityAudienceMappings[].active |
Boolean |
true |
|
identityAudienceMappings[].createdBy |
String |
true |
|
identityAudienceMappings[].createdAt |
Object |
true |
|
identityAudienceMappings[].deletedAt |
Object |
true |
|
identityAudienceMappings[].deletedBy |
String |
true |
|
identityAudienceMappings[].deleted |
Boolean |
true |
|
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
tenantId |
String |
true |
Deprecated.. |
name |
String |
true |
|
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities/3afd38c9-0419-4354-bf34-b4e6fbd41883' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 710
{
"id" : "3afd38c9-0419-4354-bf34-b4e6fbd41883",
"organizationId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"firstName" : "John",
"lastName" : "Doe",
"email" : "john.doe@acme.com",
"identityMappings" : [ {
"id" : "366631c5-e71c-490e-98bc-ddad9291ecaa",
"auth0UserId" : "auth0-opaque-userId-3",
"identityProviderId" : "2284493a-7870-47da-bd29-aa9cd2882ac6",
"userIdentityId" : "3afd38c9-0419-4354-bf34-b4e6fbd41883"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 899788000,
"epochSecond" : 1734011011
},
"deletedAt" : null,
"tenantId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"name" : "John Doe",
"type" : "UserIdentity"
}
Get User Identity By Mapping
GET /user-identities/mapping/{auth0UserId}/{identityProviderId}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
auth0UserId |
String |
false |
|
identityProviderId |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
firstName |
String |
true |
|
lastName |
String |
true |
|
String |
true |
||
identityMappings |
Array[Object] |
true |
|
identityMappings[].id |
String |
true |
|
identityMappings[].auth0UserId |
String |
true |
|
identityMappings[].identityProviderId |
String |
true |
|
identityMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings |
Array[Object] |
true |
|
identityAudienceMappings[].id |
String |
true |
|
identityAudienceMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings[].oidcAudienceId |
String |
true |
|
identityAudienceMappings[].subject |
String |
true |
|
identityAudienceMappings[].active |
Boolean |
true |
|
identityAudienceMappings[].createdBy |
String |
true |
|
identityAudienceMappings[].createdAt |
Object |
true |
|
identityAudienceMappings[].deletedAt |
Object |
true |
|
identityAudienceMappings[].deletedBy |
String |
true |
|
identityAudienceMappings[].deleted |
Boolean |
true |
|
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
tenantId |
String |
true |
Deprecated.. |
name |
String |
true |
|
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities/mapping/auth0-opaque-userId-3/2284493a-7870-47da-bd29-aa9cd2882ac6' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 710
{
"id" : "3afd38c9-0419-4354-bf34-b4e6fbd41883",
"organizationId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"firstName" : "John",
"lastName" : "Doe",
"email" : "john.doe@acme.com",
"identityMappings" : [ {
"id" : "366631c5-e71c-490e-98bc-ddad9291ecaa",
"auth0UserId" : "auth0-opaque-userId-3",
"identityProviderId" : "2284493a-7870-47da-bd29-aa9cd2882ac6",
"userIdentityId" : "3afd38c9-0419-4354-bf34-b4e6fbd41883"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 899788000,
"epochSecond" : 1734011011
},
"deletedAt" : null,
"tenantId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"name" : "John Doe",
"type" : "UserIdentity"
}
Create Identity
POST /user-identities
Request fields
Path | Type | Optional | Description |
---|---|---|---|
organizationId |
String |
true |
|
firstName |
String |
true |
|
lastName |
String |
true |
|
String |
true |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
firstName |
String |
true |
|
lastName |
String |
true |
|
String |
true |
||
identityMappings |
Array[Object] |
true |
|
identityMappings[].id |
String |
true |
|
identityMappings[].auth0UserId |
String |
true |
|
identityMappings[].identityProviderId |
String |
true |
|
identityMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings |
Array[Object] |
true |
|
identityAudienceMappings[].id |
String |
true |
|
identityAudienceMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings[].oidcAudienceId |
String |
true |
|
identityAudienceMappings[].subject |
String |
true |
|
identityAudienceMappings[].active |
Boolean |
true |
|
identityAudienceMappings[].createdBy |
String |
true |
|
identityAudienceMappings[].createdAt |
Object |
true |
|
identityAudienceMappings[].deletedAt |
Object |
true |
|
identityAudienceMappings[].deletedBy |
String |
true |
|
identityAudienceMappings[].deleted |
Boolean |
true |
|
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
tenantId |
String |
true |
Deprecated.. |
name |
String |
true |
|
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"organizationId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"firstName" : "Jane",
"lastName" : "Doe",
"email" : "jane.doe@acme.com"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 479
{
"id" : "294b84a4-944f-4819-8ceb-ca428ffc2522",
"organizationId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"firstName" : "Jane",
"lastName" : "Doe",
"email" : "jane.doe@acme.com",
"identityMappings" : [ ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 957386000,
"epochSecond" : 1734011062
},
"deletedAt" : null,
"tenantId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"name" : "Jane Doe",
"type" : "UserIdentity"
}
Update
PUT /user-identities/{id}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Request fields
Path | Type | Optional | Description |
---|---|---|---|
firstName |
String |
true |
|
lastName |
String |
true |
|
String |
true |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
firstName |
String |
true |
|
lastName |
String |
true |
|
String |
true |
||
identityMappings |
Array[Object] |
true |
|
identityMappings[].id |
String |
true |
|
identityMappings[].auth0UserId |
String |
true |
|
identityMappings[].identityProviderId |
String |
true |
|
identityMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings |
Array[Object] |
true |
|
identityAudienceMappings[].id |
String |
true |
|
identityAudienceMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings[].oidcAudienceId |
String |
true |
|
identityAudienceMappings[].subject |
String |
true |
|
identityAudienceMappings[].active |
Boolean |
true |
|
identityAudienceMappings[].createdBy |
String |
true |
|
identityAudienceMappings[].createdAt |
Object |
true |
|
identityAudienceMappings[].deletedAt |
Object |
true |
|
identityAudienceMappings[].deletedBy |
String |
true |
|
identityAudienceMappings[].deleted |
Boolean |
true |
|
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
tenantId |
String |
true |
Deprecated.. |
name |
String |
true |
|
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities/5c261284-f7a1-490b-8181-3079f5bd1e94' -i -X PUT \
-H 'Content-Type: application/json' \
-d '{
"firstName" : "Bobby",
"lastName" : "White",
"email" : "bobby.white@acme.com"
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 721
{
"id" : "5c261284-f7a1-490b-8181-3079f5bd1e94",
"organizationId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"firstName" : "Bobby",
"lastName" : "White",
"email" : "bobby.white@acme.com",
"identityMappings" : [ {
"id" : "04a7cc5c-ff81-4865-a5b7-1380f7ed035c",
"auth0UserId" : "auth0-opaque-userId-288",
"identityProviderId" : "2284493a-7870-47da-bd29-aa9cd2882ac6",
"userIdentityId" : "5c261284-f7a1-490b-8181-3079f5bd1e94"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 555544000,
"epochSecond" : 1734011062
},
"deletedAt" : null,
"tenantId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"name" : "Bobby White",
"type" : "UserIdentity"
}
Activate Or Deactivate User Identity
PUT /user-identities/{id}/{action:activate|deactivate}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
|
action |
String |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
firstName |
String |
true |
|
lastName |
String |
true |
|
String |
true |
||
identityMappings |
Array[Object] |
true |
|
identityMappings[].id |
String |
true |
|
identityMappings[].auth0UserId |
String |
true |
|
identityMappings[].identityProviderId |
String |
true |
|
identityMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings |
Array[Object] |
true |
|
identityAudienceMappings[].id |
String |
true |
|
identityAudienceMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings[].oidcAudienceId |
String |
true |
|
identityAudienceMappings[].subject |
String |
true |
|
identityAudienceMappings[].active |
Boolean |
true |
|
identityAudienceMappings[].createdBy |
String |
true |
|
identityAudienceMappings[].createdAt |
Object |
true |
|
identityAudienceMappings[].deletedAt |
Object |
true |
|
identityAudienceMappings[].deletedBy |
String |
true |
|
identityAudienceMappings[].deleted |
Boolean |
true |
|
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
tenantId |
String |
true |
Deprecated.. |
name |
String |
true |
|
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities/02d39a96-f287-4a77-bce7-cdd14ce5cfe5/deactivate' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 719
{
"id" : "02d39a96-f287-4a77-bce7-cdd14ce5cfe5",
"organizationId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"firstName" : "First",
"lastName" : "Last",
"email" : "random-289@acme.com",
"identityMappings" : [ {
"id" : "3c58c92c-a8ac-4fd6-b733-5f2c6d52b4dd",
"auth0UserId" : "auth0-opaque-userId-290",
"identityProviderId" : "2284493a-7870-47da-bd29-aa9cd2882ac6",
"userIdentityId" : "02d39a96-f287-4a77-bce7-cdd14ce5cfe5"
} ],
"identityAudienceMappings" : [ ],
"active" : false,
"createdAt" : {
"nano" : 599506000,
"epochSecond" : 1734011062
},
"deletedAt" : null,
"tenantId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"name" : "First Last",
"type" : "UserIdentity"
}
Reset User Identity Mfa Settings
PUT /user-identities/{id}/reset-mfa
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
No response body.
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities/bc1ec035-43d7-4a34-87c9-ffdbdaba4616/reset-mfa' -i -X PUT
Example response
HTTP/1.1 200 OK
Map Identity
POST /user-identities/{id}/mapping
Authorization
This endpoint requires:
-
create-identity-mapping
action on thisuser-identity
resource.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Request fields
Path | Type | Optional | Description |
---|---|---|---|
auth0UserId |
String |
true |
|
identityProviderId |
String |
true |
Response fields
No response body.
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities/92b318ae-0de4-4953-9fd2-170f2b6efe2a/mapping' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"auth0UserId" : "new-auth0-userId:7df7d440-76ee-49e7-9acd-f2e0447368e9",
"identityProviderId" : "3b391cf2-47de-46a9-bf2f-e55642190795"
}'
Example response
HTTP/1.1 200 OK
API Account Identity
Find Api Account Identities
GET /api-account-identities
Query parameters
Supports standard paging query parameters.
Parameter | Type | Optional | Description |
---|---|---|---|
tenantId |
Object |
true |
Deprecated.. |
organizationId |
Object |
true |
|
name |
String |
true |
|
contactEmail |
String |
true |
|
active |
Boolean |
true |
|
includeDeleted |
Boolean |
true |
Default value: 'false'. |
provider |
String |
true |
Must be one of [Auth0, Cognito]. |
Response fields
Standard paging response where content
field is list of following objects:
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
auth0ClientId |
String |
true |
|
awsCognitoClientId |
String |
true |
|
authenticationUrl |
String |
true |
|
name |
String |
true |
|
contactEmail |
String |
true |
|
description |
String |
true |
|
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
|
String |
true |
||
tenantId |
String |
true |
Deprecated.. |
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/api-account-identities' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 2001
[ {
"id" : "01abc9e8-1da9-4417-921c-69c839e91daa",
"organizationId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"auth0ClientId" : "6b9b902b-46b4-4c25-87b1-2406d6b54ba2",
"awsCognitoClientId" : null,
"authenticationUrl" : "https://netfoundry-sandbox.auth0.com/oauth/token",
"name" : "HR Bridge Service",
"contactEmail" : "hr.director@acme.com",
"description" : "description goes here",
"active" : true,
"createdAt" : {
"nano" : 61060000,
"epochSecond" : 1734011014
},
"updatedAt" : null,
"deletedAt" : null,
"email" : "hr.director@acme.com",
"tenantId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"type" : "ApiAccountIdentity"
}, {
"id" : "0328cde8-c64a-4bfb-a5df-2bd96d27ce54",
"organizationId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"auth0ClientId" : null,
"awsCognitoClientId" : "b4cfa1fd-4f8f-4686-a5c1-00255c757c32|mhgaatbe",
"authenticationUrl" : "https://netfoundry-test-fsvcvc.auth.us-east-1.amazoncognito.com/oauth2/token",
"name" : "Testing Limits",
"contactEmail" : "a@acme.com",
"description" : "description",
"active" : true,
"createdAt" : {
"nano" : 408317000,
"epochSecond" : 1734011025
},
"updatedAt" : null,
"deletedAt" : null,
"email" : "a@acme.com",
"tenantId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"type" : "ApiAccountIdentity"
}, {
"id" : "0e6a58f9-049a-43c6-853a-d155eba5e829",
"organizationId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"auth0ClientId" : null,
"awsCognitoClientId" : "922620cb-ca9c-4dfc-a91b-31cc58206d5a|btthmhpk",
"authenticationUrl" : "https://netfoundry-test-uxborf.auth.us-east-1.amazoncognito.com/oauth2/token",
"name" : "Testing Limits",
"contactEmail" : "a@acme.com",
"description" : "description",
"active" : true,
"createdAt" : {
"nano" : 937810000,
"epochSecond" : 1734011027
},
"updatedAt" : null,
"deletedAt" : null,
"email" : "a@acme.com",
"tenantId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"type" : "ApiAccountIdentity"
} ]
Get Api Account Identity
GET /api-account-identities/{id:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
auth0ClientId |
String |
true |
|
awsCognitoClientId |
String |
true |
|
authenticationUrl |
String |
true |
|
name |
String |
true |
|
contactEmail |
String |
true |
|
description |
String |
true |
|
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
|
String |
true |
||
tenantId |
String |
true |
Deprecated.. |
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/api-account-identities/29ba1670-bd42-402b-83b1-1f55e651240f' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 718
{
"id" : "29ba1670-bd42-402b-83b1-1f55e651240f",
"organizationId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"auth0ClientId" : "bafc5638-09e2-4594-8450-2eadfb7d1464",
"awsCognitoClientId" : null,
"authenticationUrl" : "http://127.0.0.1:1234/IdP/OAuth2/login",
"name" : "api-account",
"contactEmail" : "no-reply@acme.com",
"description" : "This is an ACME non-interactive API client.",
"active" : true,
"createdAt" : {
"nano" : 933282000,
"epochSecond" : 1734011011
},
"updatedAt" : {
"nano" : 430101000,
"epochSecond" : 1734011013
},
"deletedAt" : null,
"email" : "no-reply@acme.com",
"tenantId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"type" : "ApiAccountIdentity"
}
Get Api Account Identity By Mapping
GET /api-account-identities/mapping/{clientId}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
clientId |
String |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
auth0ClientId |
String |
true |
|
awsCognitoClientId |
String |
true |
|
authenticationUrl |
String |
true |
|
name |
String |
true |
|
contactEmail |
String |
true |
|
description |
String |
true |
|
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
|
String |
true |
||
tenantId |
String |
true |
Deprecated.. |
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/api-account-identities/mapping/5b1f6f73-fc39-4c1b-93aa-0d30eda132e0' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 682
{
"id" : "68c11413-b157-416a-8e46-6f78d0c5eb77",
"organizationId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"auth0ClientId" : "5b1f6f73-fc39-4c1b-93aa-0d30eda132e0",
"awsCognitoClientId" : null,
"authenticationUrl" : "http://127.0.0.1:1234/IdP/OAuth2/login",
"name" : "ACME Internal Service-29",
"contactEmail" : "service.admin-30@foo.com",
"description" : "updatable API Account description-31",
"active" : true,
"createdAt" : {
"nano" : 367606000,
"epochSecond" : 1734011052
},
"updatedAt" : null,
"deletedAt" : null,
"email" : "service.admin-30@foo.com",
"tenantId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"type" : "ApiAccountIdentity"
}
Create Api Account Identity
POST /api-account-identities
Request fields
Path | Type | Optional | Description |
---|---|---|---|
organizationId |
String |
true |
|
name |
String |
true |
|
contactEmail |
String |
true |
|
description |
String |
true |
|
grantDefaultRoles |
Boolean |
true |
|
provider |
String |
true |
Must be one of [Auth0, Cognito]. |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
apiAccountIdentity |
Object |
true |
|
apiAccountIdentity.id |
String |
true |
|
apiAccountIdentity.organizationId |
String |
true |
|
apiAccountIdentity.auth0ClientId |
String |
true |
|
apiAccountIdentity.awsCognitoClientId |
String |
true |
|
apiAccountIdentity.authenticationUrl |
String |
true |
|
apiAccountIdentity.name |
String |
true |
|
apiAccountIdentity.contactEmail |
String |
true |
|
apiAccountIdentity.description |
String |
true |
|
apiAccountIdentity.active |
Boolean |
true |
|
apiAccountIdentity.createdAt |
Object |
true |
|
apiAccountIdentity.updatedAt |
Object |
true |
|
apiAccountIdentity.deletedAt |
Object |
true |
|
apiAccountIdentity.email |
String |
true |
|
apiAccountIdentity.tenantId |
String |
true |
Deprecated.. |
apiAccountIdentity.type |
String |
true |
|
clientId |
String |
true |
|
password |
String |
true |
|
authenticationUrl |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/api-account-identities' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"organizationId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"name" : "HR Bridge Service",
"contactEmail" : "hr.director@acme.com",
"description" : "description goes here",
"grantDefaultRoles" : true,
"provider" : "Cognito"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 940
{
"apiAccountIdentity" : {
"id" : "a2b33846-73eb-47a0-a1a8-6ea618b60c2b",
"organizationId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"auth0ClientId" : null,
"awsCognitoClientId" : "ca012e3a-b98c-4fc0-ad13-0757c7ed342d|gcfpnctd",
"authenticationUrl" : "https://netfoundry-test-swwulm.auth.us-east-1.amazoncognito.com/oauth2/token",
"name" : "HR Bridge Service",
"contactEmail" : "hr.director@acme.com",
"description" : "description goes here",
"active" : true,
"createdAt" : {
"nano" : 658810000,
"epochSecond" : 1734011017
},
"updatedAt" : null,
"deletedAt" : null,
"email" : "hr.director@acme.com",
"tenantId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"type" : "ApiAccountIdentity"
},
"clientId" : "gcfpnctd",
"password" : "dcpcvoaikhunntlwmqinbvya",
"authenticationUrl" : "https://netfoundry-test-swwulm.auth.us-east-1.amazoncognito.com/oauth2/token"
}
Update Identity Info
PUT /api-account-identities/{id}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Request fields
Path | Type | Optional | Description |
---|---|---|---|
name |
String |
true |
|
contactEmail |
String |
true |
|
description |
String |
true |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
auth0ClientId |
String |
true |
|
awsCognitoClientId |
String |
true |
|
authenticationUrl |
String |
true |
|
name |
String |
true |
|
contactEmail |
String |
true |
|
description |
String |
true |
|
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
|
String |
true |
||
tenantId |
String |
true |
Deprecated.. |
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/api-account-identities/ee943ccb-2970-467c-96d0-4db5ccce2a28' -i -X PUT \
-H 'Content-Type: application/json' \
-d '{
"name" : "Robot",
"contactEmail" : "robot@acme.com",
"description" : "description here."
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 680
{
"id" : "ee943ccb-2970-467c-96d0-4db5ccce2a28",
"organizationId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"auth0ClientId" : "3b508095-d684-48e1-b800-8d2ed44aa9e6",
"awsCognitoClientId" : null,
"authenticationUrl" : "http://127.0.0.1:1234/IdP/OAuth2/login",
"name" : "Robot",
"contactEmail" : "robot@acme.com",
"description" : "description here.",
"active" : true,
"createdAt" : {
"nano" : 971009000,
"epochSecond" : 1734011011
},
"updatedAt" : {
"nano" : 789706000,
"epochSecond" : 1734011012
},
"deletedAt" : null,
"email" : "robot@acme.com",
"tenantId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"type" : "ApiAccountIdentity"
}
Activate Or Deactivate Api Account Identity
PUT /api-account-identities/{id}/{action:activate|deactivate}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
|
action |
String |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
auth0ClientId |
String |
true |
|
awsCognitoClientId |
String |
true |
|
authenticationUrl |
String |
true |
|
name |
String |
true |
|
contactEmail |
String |
true |
|
description |
String |
true |
|
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
|
String |
true |
||
tenantId |
String |
true |
Deprecated.. |
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/api-account-identities/769a1a59-dd37-4d65-9fd9-91905ff08760/deactivate' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 739
{
"id" : "769a1a59-dd37-4d65-9fd9-91905ff08760",
"organizationId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"auth0ClientId" : "aaae7175-09ae-44ce-be50-5f84330033ae",
"awsCognitoClientId" : null,
"authenticationUrl" : "http://127.0.0.1:1234/IdP/OAuth2/login",
"name" : "ACME Internal Service-23",
"contactEmail" : "service.admin-24@foo.com",
"description" : "updatable API Account description-25",
"active" : false,
"createdAt" : {
"nano" : 240691000,
"epochSecond" : 1734011052
},
"updatedAt" : {
"nano" : 263002000,
"epochSecond" : 1734011052
},
"deletedAt" : null,
"email" : "service.admin-24@foo.com",
"tenantId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"type" : "ApiAccountIdentity"
}
Invitation
Find Invitations
GET /invitations
Query parameters
Supports standard paging query parameters.
Parameter | Type | Optional | Description |
---|---|---|---|
fromIdentityId |
Object |
true |
|
toTenantId |
Object |
true |
Deprecated.. |
toOrganizationId |
Object |
true |
|
invitedEmailAddress |
String |
true |
|
targetIdentityId |
Object |
true |
|
states |
Object |
true |
Must be one of [Open, Accepted, Declined, Expired, Revoked]. |
Response fields
Standard paging response where content
field is list of following objects:
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
fromIdentityId |
String |
true |
|
toOrganizationId |
String |
true |
|
invitedEmailAddress |
String |
true |
|
expiration |
Object |
true |
|
targetUserIdentityId |
String |
true |
|
accepted |
Boolean |
true |
|
revokedAt |
Object |
true |
|
responseReceivedAt |
Object |
true |
|
toTenantId |
String |
true |
Deprecated.. |
state |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/invitations' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 527
[ {
"id" : "587c5838-3ada-42e9-b04e-121d930f7da9",
"fromIdentityId" : "9590e305-45a4-4885-b65c-48aec7f4281f",
"toOrganizationId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"invitedEmailAddress" : "new.employee@acme.com",
"expiration" : {
"nano" : 614580000,
"epochSecond" : 1734615857
},
"targetUserIdentityId" : "1cbc1b06-4ddb-4d27-998b-6137d46a266e",
"accepted" : null,
"revokedAt" : null,
"responseReceivedAt" : null,
"toTenantId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"state" : "Open"
} ]
Get Invitation By Id
GET /invitations/{id:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
fromIdentityId |
String |
true |
|
toOrganizationId |
String |
true |
|
invitedEmailAddress |
String |
true |
|
expiration |
Object |
true |
|
targetUserIdentityId |
String |
true |
|
accepted |
Boolean |
true |
|
revokedAt |
Object |
true |
|
responseReceivedAt |
Object |
true |
|
toTenantId |
String |
true |
Deprecated.. |
state |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/invitations/6f7c0ca8-d95d-4bef-b58e-5b00e9cb6309' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 527
{
"id" : "6f7c0ca8-d95d-4bef-b58e-5b00e9cb6309",
"fromIdentityId" : "3afd38c9-0419-4354-bf34-b4e6fbd41883",
"toOrganizationId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"invitedEmailAddress" : "new.employee-219@acme.com",
"expiration" : {
"nano" : 858859000,
"epochSecond" : 1734615857
},
"targetUserIdentityId" : "d7189314-797f-425e-80dd-9003b317fe98",
"accepted" : null,
"revokedAt" : null,
"responseReceivedAt" : null,
"toTenantId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"state" : "Open"
}
Create Invitation
POST /invitations
Authorization
This endpoint requires:
-
create
action on thisinvitation
resource. -
read
action on theuser-identity
resource identified by thetargetUserIdentityId
property.
Request fields
Path | Type | Optional | Description |
---|---|---|---|
toOrganizationId |
String |
true |
|
invitedEmailAddress |
String |
true |
|
invitationUrl |
String |
true |
|
targetUserIdentityId |
String |
true |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
fromIdentityId |
String |
true |
|
toOrganizationId |
String |
true |
|
invitedEmailAddress |
String |
true |
|
expiration |
Object |
true |
|
targetUserIdentityId |
String |
true |
|
accepted |
Boolean |
true |
|
revokedAt |
Object |
true |
|
responseReceivedAt |
Object |
true |
|
toTenantId |
String |
true |
Deprecated.. |
state |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/invitations' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"toOrganizationId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"invitedEmailAddress" : "new.employee@acme.com",
"invitationUrl" : "http://acme.console.netfoundry.io/invitation",
"targetUserIdentityId" : "1cbc1b06-4ddb-4d27-998b-6137d46a266e"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 523
{
"id" : "587c5838-3ada-42e9-b04e-121d930f7da9",
"fromIdentityId" : "9590e305-45a4-4885-b65c-48aec7f4281f",
"toOrganizationId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"invitedEmailAddress" : "new.employee@acme.com",
"expiration" : {
"nano" : 614580000,
"epochSecond" : 1734615857
},
"targetUserIdentityId" : "1cbc1b06-4ddb-4d27-998b-6137d46a266e",
"accepted" : null,
"revokedAt" : null,
"responseReceivedAt" : null,
"toTenantId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"state" : "Open"
}
Respond To Invitation
PUT /invitations/{id:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}}/{action:accept|decline}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
|
action |
String |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
fromIdentityId |
String |
true |
|
toOrganizationId |
String |
true |
|
invitedEmailAddress |
String |
true |
|
expiration |
Object |
true |
|
targetUserIdentityId |
String |
true |
|
accepted |
Boolean |
true |
|
revokedAt |
Object |
true |
|
responseReceivedAt |
Object |
true |
|
toTenantId |
String |
true |
Deprecated.. |
state |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/invitations/b4d4f7a3-ce08-418d-9bde-33158b932790/decline' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 588
{
"id" : "b4d4f7a3-ce08-418d-9bde-33158b932790",
"fromIdentityId" : "3afd38c9-0419-4354-bf34-b4e6fbd41883",
"toOrganizationId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"invitedEmailAddress" : "new.employee-216@acme.com",
"expiration" : {
"nano" : 813855000,
"epochSecond" : 1734615857
},
"targetUserIdentityId" : "4e9e9666-89cf-4445-8a10-178ced23d953",
"accepted" : false,
"revokedAt" : null,
"responseReceivedAt" : {
"nano" : 824403000,
"epochSecond" : 1734011057
},
"toTenantId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"state" : "Declined"
}
Revoke Invitation
PUT /invitations/{id:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}}/revoke
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
fromIdentityId |
String |
true |
|
toOrganizationId |
String |
true |
|
invitedEmailAddress |
String |
true |
|
expiration |
Object |
true |
|
targetUserIdentityId |
String |
true |
|
accepted |
Boolean |
true |
|
revokedAt |
Object |
true |
|
responseReceivedAt |
Object |
true |
|
toTenantId |
String |
true |
Deprecated.. |
state |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/invitations/b57b86fb-e4bb-4385-b9da-cfa49d5ff0b2/revoke' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 642
{
"id" : "b57b86fb-e4bb-4385-b9da-cfa49d5ff0b2",
"fromIdentityId" : "3afd38c9-0419-4354-bf34-b4e6fbd41883",
"toOrganizationId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"invitedEmailAddress" : "new.employee-222@acme.com",
"expiration" : {
"nano" : 899215000,
"epochSecond" : 1734615857
},
"targetUserIdentityId" : "b164ff49-b8c0-4716-94a0-b15da4dde49e",
"accepted" : null,
"revokedAt" : {
"nano" : 908746000,
"epochSecond" : 1734011057
},
"responseReceivedAt" : {
"nano" : 908749000,
"epochSecond" : 1734011057
},
"toTenantId" : "c26dadc3-d1d8-43d4-bde9-e5f10a4ad8f9",
"state" : "Revoked"
}
Support
Create Support Request
POST /nfconsole/support/requests
Authorization
Authorization not required for this request.
Request fields
Path | Type | Optional | Description |
---|---|---|---|
name |
String |
true |
|
String |
true |
||
selectedOrganizationId |
String |
true |
|
selectedNetworkId |
String |
true |
|
subject |
String |
true |
|
comment |
String |
true |
|
type |
String |
true |
Must be one of [problem, incident, question, task]. |
priority |
String |
true |
Must be one of [urgent, high, normal, low]. |
severity |
String |
true |
Must be one of [Severity1, Severity2, Severity3]. |
recentErrorMessages |
Array[String] |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/nfconsole/support/requests' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"name" : "Curious George",
"email" : "george@curious-client.com",
"selectedOrganizationId" : null,
"selectedNetworkId" : null,
"subject" : "Sales Contact Request",
"comment" : "This looks great! I'd like a sales rep to contact me.",
"type" : "question",
"priority" : "high",
"severity" : "Severity3",
"recentErrorMessages" : null
}'
Example response
HTTP/1.1 200 OK
Invitation Flow
Get Invitation By Key
GET /invitations/key/{key:\p{Alnum}{36}}
Authorization
Authorization not required for this request.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
key |
String |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
fromIdentity |
Object |
true |
|
fromIdentity.name |
String |
true |
|
fromIdentity.email |
String |
true |
|
targetIdentity |
Object |
true |
|
targetIdentity.name |
String |
true |
|
targetIdentity.email |
String |
true |
|
invitedEmailAddress |
String |
true |
|
toOrganizationName |
String |
true |
|
toOrganizationLabel |
String |
true |
|
expiration |
Object |
true |
|
accepted |
Boolean |
true |
|
state |
String |
true |
Must be one of [Open, Accepted, Declined, Expired, Revoked]. |
toTenantName |
String |
true |
Deprecated.. |
toTenantLabel |
String |
true |
Deprecated.. |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/invitations/key/YARe5NgeiaKbVBWh4QgUQhlqUb88zMdpGTs7' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 519
{
"fromIdentity" : {
"name" : "John Doe",
"email" : "john.doe@acme.com"
},
"targetIdentity" : {
"name" : "First Last",
"email" : "random-229@acme.com"
},
"invitedEmailAddress" : "new.employee-231@acme.com",
"toOrganizationName" : "ACME International, Inc.",
"toOrganizationLabel" : "ACME-0",
"expiration" : {
"nano" : 159132000,
"epochSecond" : 1734615858
},
"accepted" : null,
"state" : "Open",
"toTenantName" : "ACME International, Inc.",
"toTenantLabel" : "ACME-0"
}
Decline Invitation
PUT /invitations/key/{key:\p{Alnum}{36}}/decline
Authorization
Authorization not required for this request.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
key |
String |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
fromIdentity |
Object |
true |
|
fromIdentity.name |
String |
true |
|
fromIdentity.email |
String |
true |
|
targetIdentity |
Object |
true |
|
targetIdentity.name |
String |
true |
|
targetIdentity.email |
String |
true |
|
invitedEmailAddress |
String |
true |
|
toOrganizationName |
String |
true |
|
toOrganizationLabel |
String |
true |
|
expiration |
Object |
true |
|
accepted |
Boolean |
true |
|
state |
String |
true |
Must be one of [Open, Accepted, Declined, Expired, Revoked]. |
toTenantName |
String |
true |
Deprecated.. |
toTenantLabel |
String |
true |
Deprecated.. |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/invitations/key/Imyifu3YigTiHT5A9ZG2ljBvSTHan9nEAgTy/decline' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 524
{
"fromIdentity" : {
"name" : "John Doe",
"email" : "john.doe@acme.com"
},
"targetIdentity" : {
"name" : "First Last",
"email" : "random-226@acme.com"
},
"invitedEmailAddress" : "new.employee-228@acme.com",
"toOrganizationName" : "ACME International, Inc.",
"toOrganizationLabel" : "ACME-0",
"expiration" : {
"nano" : 105568000,
"epochSecond" : 1734615858
},
"accepted" : false,
"state" : "Declined",
"toTenantName" : "ACME International, Inc.",
"toTenantLabel" : "ACME-0"
}
Initiate Accept Invitation
POST /invitations/key/{key:\p{Alnum}{36}}/accept-initiate
Authorization
Authorization not required for this request.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
key |
String |
false |
Request fields
Path | Type | Optional | Description |
---|---|---|---|
intermediateReturnUrl |
String |
true |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
nfToken |
String |
true |
|
auth0ConnectionIds |
Array[String] |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/invitations/key/c6FrCtZ2RNtewOslqfTGzdn8T4UezoHQBcfE/accept-initiate' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"intermediateReturnUrl" : "http://console.nfadmin.netfoundry.io/invitation"
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 981
{
"nfToken" : "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3MzQwMTEwNTgsImV4cCI6MTczNDAxMTk1OCwiaXNzIjoiaHR0cDovL2xvY2FsaG9zdDo4MDgwL2lkZW50aXR5L3YxIiwiYXVkIjoiaHR0cHM6Ly9uZXRmb3VuZHJ5LXNhbmRib3guYXV0aDAuY29tLyIsImZsb3ciOiJpbnZpdGF0aW9uIiwiaW52aXRhdGlvbklkIjoiZjRkNTY2N2UtNGI1OC00Mjc0LTljYzAtODY4Yzg4NzVhNTJlIiwidGVuYW50TGFiZWwiOiJBQ01FLTAiLCJhdXRoMENvbm5lY3Rpb25JZHMiOlsiYXV0aDAtb3BhcXVlLWNvbm5lY3Rpb25JZC0xIiwiYXV0aDAtb3BhcXVlLWNvbm5lY3Rpb25JZC0yIl0sInJlZGlyZWN0VXJsIjoiaHR0cDovL2NvbnNvbGUubmZhZG1pbi5uZXRmb3VuZHJ5LmlvL2ludml0YXRpb24ifQ.V4f8ddnOclNj0oXUT8LkjcVwJC8FUreIMG4D29X65RvngGR9BwP0fzU0yhS8EifhWSW6qpJOIIeL8luWVbSbCINIYEC9LaqQAtKG0zUWyQvNN8Nv4L1kfFFA74nDGFcu563PckySqLW-ZY4g-tSmJtdMIgmdqSPeBvL6Jiy7yK-fdYyh18Y6Wcx2qJkNlt1ufU8wbWFXZGYhNIMMFEciUbzwHPlExOTVxWNR9OR6276rpGhleZABi6CrRrSQ6a-TczKt9Et2_wgtouQjSq39C_IrVKegPc_7g6FFQrROb8gTCsnRCB2UvKuSLQENJ7IrOLTzn8cn3wf-4S5iyQ2OfQ",
"auth0ConnectionIds" : [ "auth0-opaque-connectionId-1", "auth0-opaque-connectionId-2" ]
}
Login Flow
Initiate Interactive Authorization
POST /organizations/authorize-initiate
Authorization
Authorization not required for this request.
Request fields
Path | Type | Optional | Description |
---|---|---|---|
label |
String |
true |
|
intermediateReturnUrl |
String |
true |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
nfToken |
String |
true |
|
auth0ConnectionIds |
Array[String] |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organizations/authorize-initiate' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"label" : "ACME-0",
"intermediateReturnUrl" : "http://console.nfadmin.netfoundry.io/invitation"
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 902
{
"nfToken" : "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3MzQwMTEwNTgsImV4cCI6MTczNDAxMTk1OCwiaXNzIjoiaHR0cDovL2xvY2FsaG9zdDo4MDgwL2lkZW50aXR5L3YxIiwiYXVkIjoiaHR0cHM6Ly9uZXRmb3VuZHJ5LXNhbmRib3guYXV0aDAuY29tLyIsImZsb3ciOiJsb2dpbiIsInRlbmFudExhYmVsIjoiQUNNRS0wIiwiYXV0aDBDb25uZWN0aW9uSWRzIjpbImF1dGgwLW9wYXF1ZS1jb25uZWN0aW9uSWQtMSIsImF1dGgwLW9wYXF1ZS1jb25uZWN0aW9uSWQtMiJdLCJyZWRpcmVjdFVybCI6Imh0dHA6Ly9jb25zb2xlLm5mYWRtaW4ubmV0Zm91bmRyeS5pby9pbnZpdGF0aW9uIn0.kLcuPcGth6bj9lNAi4hct8hcublTNugDDsXQendIC150d_p4Szm24wLDZQveivUMiIaUhgJdtp2QEYh8a2huqFZUAKFRi9tFW78pCf1l50V_G_LJseNaKSXL4CXHip5P77wAkRQrtQo6Dn0tbBC1PXUCmeazS8hcCGQpGdiPmY4c7Z01NBJENesZxVDpt7yABzKI-FQQbOtYY_VmtUwVf74Ex2mPt-ZPvRGJj9oKFn9kYDrI47tgyaAWq8h9vVknKhNIkf0_3sRBVZ2lGkeMgH9zcuiwQYTQKxpZWy9YpWRFIbPdCyQHzHmkOSbFD0XgN8O1ZC-Fdu9ffpZnsnCfDQ",
"auth0ConnectionIds" : [ "auth0-opaque-connectionId-1", "auth0-opaque-connectionId-2" ]
}
Identity Preference Flow
Find Identity Preferences
GET /identity-preferences
Response fields
Standard paging response where content
field is list of following objects:
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
userIdentityId |
String |
true |
|
preferences |
Object |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identity-preferences' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1283
[ {
"id" : "0aad4d6a-5adf-40cc-a988-15239162aaeb",
"userIdentityId" : "e5eff79d-9ef9-4afe-b2fd-6b5e22036896",
"preferences" : {
"hello" : "world"
},
"createdBy" : "e5eff79d-9ef9-4afe-b2fd-6b5e22036896",
"createdAt" : {
"nano" : 681009000,
"epochSecond" : 1734011054
},
"updatedAt" : {
"nano" : 681009000,
"epochSecond" : 1734011054
},
"deletedBy" : null,
"deletedAt" : null
}, {
"id" : "3d3ab7b8-2949-4ab1-a9a0-d0bce6a69fa1",
"userIdentityId" : "69ca2182-7a92-4278-8470-cecf149e966f",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "69ca2182-7a92-4278-8470-cecf149e966f",
"createdAt" : {
"nano" : 589033000,
"epochSecond" : 1734011054
},
"updatedAt" : {
"nano" : 589033000,
"epochSecond" : 1734011054
},
"deletedBy" : null,
"deletedAt" : null
}, {
"id" : "b4188ed3-11c3-456f-b836-3b26c9f503fd",
"userIdentityId" : "c938df42-c24e-450e-8f63-6fc2ff4f3040",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "c938df42-c24e-450e-8f63-6fc2ff4f3040",
"createdAt" : {
"nano" : 505044000,
"epochSecond" : 1734011054
},
"updatedAt" : {
"nano" : 505044000,
"epochSecond" : 1734011054
},
"deletedBy" : null,
"deletedAt" : null
} ]
Get Identity Preference
GET /identity-preferences/{id:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
userIdentityId |
String |
true |
|
preferences |
Object |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identity-preferences/d0c0dbb4-e205-4ac7-8314-074a7e806d56' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 413
{
"id" : "d0c0dbb4-e205-4ac7-8314-074a7e806d56",
"userIdentityId" : "b517ee79-3e30-4bc0-8537-90a36fb30536",
"preferences" : {
"hello" : "world"
},
"createdBy" : "b517ee79-3e30-4bc0-8537-90a36fb30536",
"createdAt" : {
"nano" : 18244000,
"epochSecond" : 1734011056
},
"updatedAt" : {
"nano" : 18244000,
"epochSecond" : 1734011056
},
"deletedBy" : null,
"deletedAt" : null
}
Upsert Identity Preference
POST /identity-preferences
Authorization
This endpoint requires no specific permission, only an authenticated client.
Request fields
Path | Type | Optional | Description |
---|---|---|---|
userIdentityId |
String |
true |
|
preferences |
Object |
true |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
userIdentityId |
String |
true |
|
preferences |
Object |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identity-preferences' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"userIdentityId" : null,
"preferences" : {
"first" : "my first preference."
}
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 430
{
"id" : "2be5a9d6-1d47-49bd-b0d6-8133b6156f76",
"userIdentityId" : "4976fcee-5853-4942-b782-9afcee406812",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "4976fcee-5853-4942-b782-9afcee406812",
"createdAt" : {
"nano" : 249462000,
"epochSecond" : 1734011055
},
"updatedAt" : {
"nano" : 249462000,
"epochSecond" : 1734011055
},
"deletedBy" : null,
"deletedAt" : null
}
Upsert Identity Preference By Id
PUT /identity-preferences/{id:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}}
Authorization
This endpoint requires:
-
create
action on thisidentity-preference
resource. -
update
action on thisidentity-preference
resource.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Request fields
Path | Type | Optional | Description |
---|---|---|---|
userIdentityId |
String |
true |
|
preferences |
Object |
true |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
userIdentityId |
String |
true |
|
preferences |
Object |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identity-preferences/529cbc62-be01-42c3-ae31-1a10a3377985' -i -X PUT \
-H 'Content-Type: application/json' \
-d '{
"preferences" : {
"updated" : "my second preference."
}
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 433
{
"id" : "529cbc62-be01-42c3-ae31-1a10a3377985",
"userIdentityId" : "22d38232-38c2-4154-8341-12638cb4ddc9",
"preferences" : {
"updated" : "my second preference."
},
"createdBy" : "22d38232-38c2-4154-8341-12638cb4ddc9",
"createdAt" : {
"nano" : 705298000,
"epochSecond" : 1734011056
},
"updatedAt" : {
"nano" : 715378000,
"epochSecond" : 1734011056
},
"deletedBy" : null,
"deletedAt" : null
}
Delete Identity Preference By Id
DELETE /identity-preferences/{id:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
userIdentityId |
String |
true |
|
preferences |
Object |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identity-preferences/13c93d13-3bd9-4bf8-8f85-40b1b73ed0c7' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 505
{
"id" : "13c93d13-3bd9-4bf8-8f85-40b1b73ed0c7",
"userIdentityId" : "208c3a7c-4de2-4647-ab9b-19b421efcbc6",
"preferences" : {
"hello" : "world"
},
"createdBy" : "208c3a7c-4de2-4647-ab9b-19b421efcbc6",
"createdAt" : {
"nano" : 646073000,
"epochSecond" : 1734011055
},
"updatedAt" : {
"nano" : 655876000,
"epochSecond" : 1734011055
},
"deletedBy" : "b3901d3b-8be9-495d-98cd-0e08e93e9cc3",
"deletedAt" : {
"nano" : 655000000,
"epochSecond" : 1734011055
}
}
Organization Preference Flow
Find Organization Preferences
GET /organization-preferences
Response fields
Standard paging response where content
field is list of following objects:
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
preferences |
Object |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organization-preferences' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1264
[ {
"id" : "16886823-6231-4c02-89c0-8d9c0fa859d8",
"organizationId" : "1d27378a-4e83-4002-8781-dcc5d262ce14",
"preferences" : {
"hello" : "world"
},
"createdBy" : "84d28726-252c-49bc-a9ef-e81d8a72a3e6",
"createdAt" : {
"nano" : 193501000,
"epochSecond" : 1734011061
},
"updatedAt" : {
"nano" : 193501000,
"epochSecond" : 1734011061
},
"deletedBy" : null,
"deletedAt" : null
}, {
"id" : "3c7a7df5-c291-46bb-a011-f258f56e4038",
"organizationId" : "0021890e-8a95-48bd-8d3e-71f59d5976b4",
"preferences" : {
"hello" : "world"
},
"createdBy" : "54362d3c-d4f8-4c8b-be24-1e11e1800c82",
"createdAt" : {
"nano" : 3933000,
"epochSecond" : 1734011061
},
"updatedAt" : {
"nano" : 3933000,
"epochSecond" : 1734011061
},
"deletedBy" : null,
"deletedAt" : null
}, {
"id" : "c4ab56c5-7866-4822-a10b-6b67608ad937",
"organizationId" : "52c52972-3798-40e7-8e6a-89b04915a951",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "0aabd609-f126-445e-97e5-436211018bf2",
"createdAt" : {
"nano" : 106836000,
"epochSecond" : 1734011061
},
"updatedAt" : {
"nano" : 106836000,
"epochSecond" : 1734011061
},
"deletedBy" : null,
"deletedAt" : null
} ]
Get Organization Preference
GET /organization-preferences/{id:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
preferences |
Object |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organization-preferences/16886823-6231-4c02-89c0-8d9c0fa859d8' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 415
{
"id" : "16886823-6231-4c02-89c0-8d9c0fa859d8",
"organizationId" : "1d27378a-4e83-4002-8781-dcc5d262ce14",
"preferences" : {
"hello" : "world"
},
"createdBy" : "84d28726-252c-49bc-a9ef-e81d8a72a3e6",
"createdAt" : {
"nano" : 193501000,
"epochSecond" : 1734011061
},
"updatedAt" : {
"nano" : 193501000,
"epochSecond" : 1734011061
},
"deletedBy" : null,
"deletedAt" : null
}
Create Organization Preference
POST /organization-preferences
Request fields
Path | Type | Optional | Description |
---|---|---|---|
organizationId |
String |
true |
|
preferences |
Object |
true |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
preferences |
Object |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organization-preferences' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"organizationId" : "52c52972-3798-40e7-8e6a-89b04915a951",
"preferences" : {
"first" : "my first preference."
}
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 430
{
"id" : "c4ab56c5-7866-4822-a10b-6b67608ad937",
"organizationId" : "52c52972-3798-40e7-8e6a-89b04915a951",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "0aabd609-f126-445e-97e5-436211018bf2",
"createdAt" : {
"nano" : 106836000,
"epochSecond" : 1734011061
},
"updatedAt" : {
"nano" : 106836000,
"epochSecond" : 1734011061
},
"deletedBy" : null,
"deletedAt" : null
}
Update Organization Preference
PUT /organization-preferences/{id}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Request fields
Path | Type | Optional | Description |
---|---|---|---|
preferences |
Object |
true |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
preferences |
Object |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organization-preferences/97778627-97d1-4a2b-a20b-4d66ee1b4c4d' -i -X PUT \
-H 'Content-Type: application/json' \
-d '{
"preferences" : {
"updated" : "my second preference."
}
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 433
{
"id" : "97778627-97d1-4a2b-a20b-4d66ee1b4c4d",
"organizationId" : "7e269012-05d1-47c5-ac59-2057bfecdc16",
"preferences" : {
"updated" : "my second preference."
},
"createdBy" : "0c1b8840-528e-4ac6-bcb2-256eb23deb15",
"createdAt" : {
"nano" : 456042000,
"epochSecond" : 1734011061
},
"updatedAt" : {
"nano" : 493875000,
"epochSecond" : 1734011061
},
"deletedBy" : null,
"deletedAt" : null
}
Delete Organization Preference
DELETE /organization-preferences/{id}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
preferences |
Object |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organization-preferences/37cfdb26-e2bf-495c-bae8-136eb83fa0da' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 505
{
"id" : "37cfdb26-e2bf-495c-bae8-136eb83fa0da",
"organizationId" : "300729e0-021a-4663-beb1-c6872291f7a2",
"preferences" : {
"hello" : "world"
},
"createdBy" : "1140bcd8-edcc-4671-8529-8d4117d65f62",
"createdAt" : {
"nano" : 141775000,
"epochSecond" : 1734011061
},
"updatedAt" : {
"nano" : 152461000,
"epochSecond" : 1734011061
},
"deletedBy" : "0917eb20-5266-4aa7-9b01-c43896379c3a",
"deletedAt" : {
"nano" : 152000000,
"epochSecond" : 1734011061
}
}