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 |
|---|---|---|---|
realmId |
Object |
true |
|
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 |
|
realmId |
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 |
|
deletedBy |
String |
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
Link: <https://gateway.netFoundry.io/identity/v1/organizations?page=1>; rel="next", <https://gateway.netFoundry.io/identity/v1/organizations?page=1>; rel="last"
Content-Type: application/json
Content-Length: 2087
[ {
"id" : "09286cc1-fc46-4549-846b-bb095b8f1cc7",
"realmId" : "2b551792-324e-4200-ab38-3d17f27ac13d",
"name" : "Admin",
"label" : "admin",
"identityProviders" : [ ],
"defaultRoles" : [ ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 803741000,
"epochSecond" : 1764887956
},
"updatedAt" : null,
"deletedBy" : null,
"deletedAt" : null,
"deleted" : false
}, {
"id" : "2d8a518e-7ad9-44dd-b220-6b1f35012152",
"realmId" : "b12be122-f0fa-4069-8901-d8def87b79e4",
"name" : "World Wide Imports",
"label" : "WW-Imports-139",
"identityProviders" : [ {
"id" : "85bf2106-907b-4be9-ad72-41418cd48c75",
"organizationId" : "2d8a518e-7ad9-44dd-b220-6b1f35012152",
"auth0ConnectionId" : "auth0-opaque-connectionId-140",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 613924000,
"epochSecond" : 1764888007
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 611981000,
"epochSecond" : 1764888007
},
"updatedAt" : null,
"deletedBy" : null,
"deletedAt" : null,
"deleted" : false
}, {
"id" : "2dab0477-21a4-45c6-8837-0b57359f7f28",
"realmId" : "b12be122-f0fa-4069-8901-d8def87b79e4",
"name" : "World Wide Imports",
"label" : "WW-Imports-213",
"identityProviders" : [ {
"id" : "e163c9ee-a486-4a52-8775-2082ffe7cac6",
"organizationId" : "2dab0477-21a4-45c6-8837-0b57359f7f28",
"auth0ConnectionId" : "auth0-opaque-connectionId-214",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 198991000,
"epochSecond" : 1764888009
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 197187000,
"epochSecond" : 1764888009
},
"updatedAt" : null,
"deletedBy" : null,
"deletedAt" : null,
"deleted" : false
} ]
Get Organization By Self
GET /organizations/self
Response fields
No response body.
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organizations/self' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 2219
{
"id" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"realmId" : "2b551792-324e-4200-ab38-3d17f27ac13d",
"name" : "ACME International, Inc.",
"label" : "ACME-2",
"identityProviders" : [ {
"id" : "41f1406e-29a1-4d66-b380-030cc9377142",
"organizationId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"auth0ConnectionId" : "auth0-opaque-connectionId-4",
"name" : "Google-Account",
"auth0ConnectionType" : "Social",
"active" : true,
"createdAt" : {
"nano" : 875347000,
"epochSecond" : 1764887956
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "750b63fb-f36b-4506-b959-0c4eb6dc00f8",
"organizationId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"auth0ConnectionId" : "auth0-opaque-connectionId-3",
"name" : "ACME Federated Active Directory",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 852216000,
"epochSecond" : 1764887956
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ {
"id" : "c6c69370-989c-44e5-9f78-04e10f6c214d",
"organizationId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"name" : "Standard Role - 7918d390-de49-4fab-9004-83f84f5af7d8",
"roleType" : "Standard",
"roleId" : "7918d390-de49-4fab-9004-83f84f5af7d8",
"createdBy" : "6d256955-1a95-48bf-a3a0-b10391bda8b0",
"createdAt" : {
"nano" : 83956000,
"epochSecond" : 1764887957
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "fe630d16-b3c3-4e4c-bbbe-e1d61e2b1ed0",
"organizationId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"name" : "Custom Role - 9c34fa7e-c036-4a43-b668-a67aa41db6b7",
"roleType" : "Custom",
"roleId" : "9c34fa7e-c036-4a43-b668-a67aa41db6b7",
"createdBy" : "f0d2bdaa-71d3-44ae-9223-4ef29b78f830",
"createdAt" : {
"nano" : 103834000,
"epochSecond" : 1764887957
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
} ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 841818000,
"epochSecond" : 1764887956
},
"updatedAt" : null,
"deletedBy" : 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 |
|
realmId |
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 |
|
deletedBy |
String |
true |
|
deletedAt |
Object |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organizations/42c4495a-755c-40c3-969e-f1c4f0e1d6b7' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 2219
{
"id" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"realmId" : "2b551792-324e-4200-ab38-3d17f27ac13d",
"name" : "ACME International, Inc.",
"label" : "ACME-2",
"identityProviders" : [ {
"id" : "41f1406e-29a1-4d66-b380-030cc9377142",
"organizationId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"auth0ConnectionId" : "auth0-opaque-connectionId-4",
"name" : "Google-Account",
"auth0ConnectionType" : "Social",
"active" : true,
"createdAt" : {
"nano" : 875347000,
"epochSecond" : 1764887956
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "750b63fb-f36b-4506-b959-0c4eb6dc00f8",
"organizationId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"auth0ConnectionId" : "auth0-opaque-connectionId-3",
"name" : "ACME Federated Active Directory",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 852216000,
"epochSecond" : 1764887956
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ {
"id" : "c6c69370-989c-44e5-9f78-04e10f6c214d",
"organizationId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"name" : "Standard Role - 7918d390-de49-4fab-9004-83f84f5af7d8",
"roleType" : "Standard",
"roleId" : "7918d390-de49-4fab-9004-83f84f5af7d8",
"createdBy" : "6d256955-1a95-48bf-a3a0-b10391bda8b0",
"createdAt" : {
"nano" : 83956000,
"epochSecond" : 1764887957
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "fe630d16-b3c3-4e4c-bbbe-e1d61e2b1ed0",
"organizationId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"name" : "Custom Role - 9c34fa7e-c036-4a43-b668-a67aa41db6b7",
"roleType" : "Custom",
"roleId" : "9c34fa7e-c036-4a43-b668-a67aa41db6b7",
"createdBy" : "f0d2bdaa-71d3-44ae-9223-4ef29b78f830",
"createdAt" : {
"nano" : 103834000,
"epochSecond" : 1764887957
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
} ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 841818000,
"epochSecond" : 1764887956
},
"updatedAt" : null,
"deletedBy" : null,
"deletedAt" : null,
"deleted" : false
}
Get Organization By Label
GET /organizations/label/{label:[a-zA-Z0-9]+[-a-zA-Z0-9]{1,62}}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
label |
String |
false |
Query parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
realm |
String |
true |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
realmId |
String |
true |
|
name |
String |
true |
|
label |
String |
true |
|
active |
Boolean |
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 |
|
mfaProvider |
String |
true |
Must be one of [None, GoogleAuthenticator]. |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organizations/label/ACME-2' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1060
{
"id" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"realmId" : "2b551792-324e-4200-ab38-3d17f27ac13d",
"name" : "ACME International, Inc.",
"label" : "ACME-2",
"active" : true,
"identityProviders" : [ {
"id" : "41f1406e-29a1-4d66-b380-030cc9377142",
"organizationId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"auth0ConnectionId" : "auth0-opaque-connectionId-4",
"name" : "Google-Account",
"auth0ConnectionType" : "Social",
"active" : true,
"createdAt" : {
"nano" : 875347000,
"epochSecond" : 1764887956
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "750b63fb-f36b-4506-b959-0c4eb6dc00f8",
"organizationId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"auth0ConnectionId" : "auth0-opaque-connectionId-3",
"name" : "ACME Federated Active Directory",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 852216000,
"epochSecond" : 1764887956
},
"updatedAt" : null,
"deletedAt" : null
} ],
"mfaProvider" : null
}
Create Organization
POST /organizations
Request fields
| Path | Type | Optional | Description |
|---|---|---|---|
realmId |
String |
true |
|
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 |
|
realmId |
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 |
|
deletedBy |
String |
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 '{
"realmId" : "ce6a15b2-fcc9-4563-9915-598658137cc1",
"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: 812
{
"id" : "5e8a6a01-548d-4d08-8062-ab4eacb23512",
"realmId" : "ce6a15b2-fcc9-4563-9915-598658137cc1",
"name" : "Best Corp.",
"label" : "BEST-CORP",
"identityProviders" : [ {
"id" : "7128614d-6250-46b0-baae-1ae02e7afee6",
"organizationId" : "5e8a6a01-548d-4d08-8062-ab4eacb23512",
"auth0ConnectionId" : "auth0-opaque-connection",
"name" : "Best Corp.",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 610778000,
"epochSecond" : 1764888013
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 609218000,
"epochSecond" : 1764888013
},
"updatedAt" : null,
"deletedBy" : 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 |
|
realmId |
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 |
|
deletedBy |
String |
true |
|
deletedAt |
Object |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organizations/dd8fb828-20e2-4a8f-82de-84eb6aae20a8/deactivate' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 893
{
"id" : "dd8fb828-20e2-4a8f-82de-84eb6aae20a8",
"realmId" : "b12be122-f0fa-4069-8901-d8def87b79e4",
"name" : "World Wide Imports",
"label" : "WW-Imports-279",
"identityProviders" : [ {
"id" : "3db76e25-4237-4ed5-8fad-28b49c0430e3",
"organizationId" : "dd8fb828-20e2-4a8f-82de-84eb6aae20a8",
"auth0ConnectionId" : "auth0-opaque-connectionId-280",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 728855000,
"epochSecond" : 1764888014
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ ],
"active" : false,
"mfaProvider" : null,
"createdAt" : {
"nano" : 727467000,
"epochSecond" : 1764888014
},
"updatedAt" : {
"nano" : 750948000,
"epochSecond" : 1764888014
},
"deletedBy" : null,
"deletedAt" : null,
"deleted" : false
}
Add Identity Provider
POST /organizations/{id}/identity-providers
Authorization
This endpoint requires:
-
create-identity-provideraction on thisorganizationresource.
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 |
|
realmId |
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 |
|
deletedBy |
String |
true |
|
deletedAt |
Object |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organizations/050ac156-42cc-45db-8b82-d0922bd961cb/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: 1232
{
"id" : "050ac156-42cc-45db-8b82-d0922bd961cb",
"realmId" : "b12be122-f0fa-4069-8901-d8def87b79e4",
"name" : "World Wide Imports",
"label" : "WW-Imports-275",
"identityProviders" : [ {
"id" : "efe3c096-66ae-401d-88d4-3614793a55d3",
"organizationId" : "050ac156-42cc-45db-8b82-d0922bd961cb",
"auth0ConnectionId" : "auth0-opaque-connectionId-276",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 506400000,
"epochSecond" : 1764888014
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "4267c44b-a4f4-42f1-b1e7-74f1002e4e23",
"organizationId" : "050ac156-42cc-45db-8b82-d0922bd961cb",
"auth0ConnectionId" : "auth0-opaque-connection",
"name" : "Corp SAML",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 533329000,
"epochSecond" : 1764888014
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 504788000,
"epochSecond" : 1764888014
},
"updatedAt" : null,
"deletedBy" : 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" : "09351793-ccee-4035-8fe3-b577065987cd",
"issuer" : "https://f65b7db8-9f5f-4d0d-9e38-1dd7a38b2ed6.issuer.idp",
"jwksUri" : "https://f65b7db8-9f5f-4d0d-9e38-1dd7a38b2ed6.issuer.idp/jwks",
"active" : true,
"createdBy" : "32dbeb43-c157-4304-8729-ef4ff2ac6812",
"createdAt" : {
"nano" : 560469000,
"epochSecond" : 1764888011
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "4ead4f0b-aba1-482e-99a1-4502242dc1ad",
"issuer" : "https://90c67985-9352-4404-b066-269048888f3c.issuer.idp",
"jwksUri" : "https://90c67985-9352-4404-b066-269048888f3c.issuer.idp/jwks",
"active" : true,
"createdBy" : "d93db79f-0bc4-429c-98b0-6be6762b225e",
"createdAt" : {
"nano" : 786551000,
"epochSecond" : 1764888011
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"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" : 726041000,
"epochSecond" : 1764887952
},
"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/d00e92bb-ca68-4fe2-b78a-d4a6e7753942' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 419
{
"id" : "d00e92bb-ca68-4fe2-b78a-d4a6e7753942",
"issuer" : "https://45fd00c5-5c9d-4a62-93e5-36fcf68838dc.issuer.idp",
"jwksUri" : "https://45fd00c5-5c9d-4a62-93e5-36fcf68838dc.issuer.idp/jwks",
"active" : true,
"createdBy" : "22f262a6-3b95-41b4-b17c-b1bbb4a75a51",
"createdAt" : {
"nano" : 534218000,
"epochSecond" : 1764888012
},
"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://5b2ffe27-5da9-48f6-afe5-be3e6b578a05.issuer.idp",
"jwksUri" : "https://5b2ffe27-5da9-48f6-afe5-be3e6b578a05.issuer.idp/jwks",
"active" : true
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 419
{
"id" : "cc6faa46-fb5a-4595-8c0c-1ddaf4c4a533",
"issuer" : "https://5b2ffe27-5da9-48f6-afe5-be3e6b578a05.issuer.idp",
"jwksUri" : "https://5b2ffe27-5da9-48f6-afe5-be3e6b578a05.issuer.idp/jwks",
"active" : true,
"createdBy" : "e7491047-0cc9-4857-b70d-f0bba07980e8",
"createdAt" : {
"nano" : 486787000,
"epochSecond" : 1764888012
},
"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/ddf3def9-33aa-478c-9ee3-b8b032d07f76' -i -X PATCH \
-H 'Content-Type: application/json' \
-d '{
"issuer" : "https://0b552034-ac73-414c-9892-0d06bfd0bf0c.issuer.idp",
"jwksUri" : "https://0b552034-ac73-414c-9892-0d06bfd0bf0c.issuer.idp/jwks",
"active" : false
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 420
{
"id" : "ddf3def9-33aa-478c-9ee3-b8b032d07f76",
"issuer" : "https://0b552034-ac73-414c-9892-0d06bfd0bf0c.issuer.idp",
"jwksUri" : "https://0b552034-ac73-414c-9892-0d06bfd0bf0c.issuer.idp/jwks",
"active" : false,
"createdBy" : "39dfc2da-d5ee-4e5b-9e7f-6278feb46df5",
"createdAt" : {
"nano" : 399399000,
"epochSecond" : 1764888012
},
"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/41210f82-a2ac-4a7c-81fe-11c3436e7a31' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 508
{
"id" : "41210f82-a2ac-4a7c-81fe-11c3436e7a31",
"issuer" : "https://ee766cce-e18c-4b7a-95d7-937eed455542.issuer.idp",
"jwksUri" : "https://ee766cce-e18c-4b7a-95d7-937eed455542.issuer.idp/jwks",
"active" : true,
"createdBy" : "be17baed-7b7b-49e7-9d3d-d02c27adc228",
"createdAt" : {
"nano" : 586189000,
"epochSecond" : 1764888012
},
"deletedAt" : {
"nano" : 604223000,
"epochSecond" : 1764888012
},
"deletedBy" : "3ffefce2-a2e9-456d-8136-b9683fe0a1ca",
"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: 2070
[ {
"id" : "2553d68b-8713-4d56-9873-34195da9e226",
"oidcIssuerId" : "d34cb854-4111-49be-8bae-5ddc3686b15e",
"clientId" : "clientId-eac2100a-88cb-4c6e-9e76-d66a775ad487",
"clientSecret" : "clientSecret-e1b1ed58-fe35-43c1-ab8d-65a4b1d855db",
"authorizationEndpoint" : "https://198e13d1-3aa0-4724-b986-c5ba6aaa1240.issuer.idp/authorize",
"tokenEndpoint" : "https://198e13d1-3aa0-4724-b986-c5ba6aaa1240.issuer.idp/token",
"userInfoEndpoint" : "https://198e13d1-3aa0-4724-b986-c5ba6aaa1240.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "23249f4d-c176-4cd9-9359-abc485b8d407",
"createdAt" : {
"nano" : 701487000,
"epochSecond" : 1764888012
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"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" : 728479000,
"epochSecond" : 1764887952
},
"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" : 728479000,
"epochSecond" : 1764887952
},
"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/6ed6e9ea-509e-4a48-a6f9-89ae6d936812' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 776
{
"id" : "6ed6e9ea-509e-4a48-a6f9-89ae6d936812",
"oidcIssuerId" : "ab73a4e4-2287-484b-b041-80147b530a19",
"clientId" : "clientId-1adbd1b4-5642-4bdd-b9d6-5a52df94d375",
"clientSecret" : "clientSecret-d4765534-79d5-45f3-b4cf-856cc569cc8d",
"authorizationEndpoint" : "https://e76866a9-2458-4dad-ab26-5426c7c7ff12.issuer.idp/authorize",
"tokenEndpoint" : "https://e76866a9-2458-4dad-ab26-5426c7c7ff12.issuer.idp/token",
"userInfoEndpoint" : "https://e76866a9-2458-4dad-ab26-5426c7c7ff12.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "b23388b5-f7c3-4bea-859d-26971156fbcc",
"createdAt" : {
"nano" : 165121000,
"epochSecond" : 1764888013
},
"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" : "6eb26a5e-b326-459a-94d3-961f8c26d89f",
"clientId" : "clientId-65c6e113-0f91-4f88-896b-c209a6e8888d",
"clientSecret" : "clientSecret-7e5f2a39-ea04-46a4-9815-b6e4023327ef",
"authorizationEndpoint" : "https://33dcff37-5922-48d9-b4fb-0c702f7f4ff5.issuer.idp/authorize",
"tokenEndpoint" : "https://33dcff37-5922-48d9-b4fb-0c702f7f4ff5.issuer.idp/token",
"userInfoEndpoint" : "https://33dcff37-5922-48d9-b4fb-0c702f7f4ff5.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 776
{
"id" : "66b96889-6282-4118-af4a-32be530fe0f8",
"oidcIssuerId" : "6eb26a5e-b326-459a-94d3-961f8c26d89f",
"clientId" : "clientId-65c6e113-0f91-4f88-896b-c209a6e8888d",
"clientSecret" : "clientSecret-7e5f2a39-ea04-46a4-9815-b6e4023327ef",
"authorizationEndpoint" : "https://33dcff37-5922-48d9-b4fb-0c702f7f4ff5.issuer.idp/authorize",
"tokenEndpoint" : "https://33dcff37-5922-48d9-b4fb-0c702f7f4ff5.issuer.idp/token",
"userInfoEndpoint" : "https://33dcff37-5922-48d9-b4fb-0c702f7f4ff5.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "ff0b984a-a244-4683-aa1b-eb075c77b2da",
"createdAt" : {
"nano" : 105947000,
"epochSecond" : 1764888013
},
"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/3c891ec5-7c67-4332-ae03-f55bc04894e3' -i -X PATCH \
-H 'Content-Type: application/json' \
-d '{
"clientId" : "clientId-9848cb98-6331-4d8b-9592-38c5eab86077",
"clientSecret" : "clientSecret-49751a37-7681-44fc-9b3f-7bc033fa5663",
"authorizationEndpoint" : "https://441f30ac-e15e-426c-88b9-e654bac1dbe3.issuer.idp/authorize",
"tokenEndpoint" : "https://441f30ac-e15e-426c-88b9-e654bac1dbe3.issuer.idp/token",
"userInfoEndpoint" : "https://441f30ac-e15e-426c-88b9-e654bac1dbe3.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : false
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 775
{
"id" : "3c891ec5-7c67-4332-ae03-f55bc04894e3",
"oidcIssuerId" : "a9b650ae-ddf2-42ab-b0c7-ec4b342e22c3",
"clientId" : "clientId-9848cb98-6331-4d8b-9592-38c5eab86077",
"clientSecret" : "clientSecret-49751a37-7681-44fc-9b3f-7bc033fa5663",
"authorizationEndpoint" : "https://441f30ac-e15e-426c-88b9-e654bac1dbe3.issuer.idp/authorize",
"tokenEndpoint" : "https://441f30ac-e15e-426c-88b9-e654bac1dbe3.issuer.idp/token",
"userInfoEndpoint" : "https://441f30ac-e15e-426c-88b9-e654bac1dbe3.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : false,
"createdBy" : "06f014e6-b844-4ee8-aac6-f15b6897a51b",
"createdAt" : {
"nano" : 6586000,
"epochSecond" : 1764888013
},
"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/76b5ee58-78eb-4c11-bf1c-b7826ab1d84e' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 865
{
"id" : "76b5ee58-78eb-4c11-bf1c-b7826ab1d84e",
"oidcIssuerId" : "88cdaef0-5eb0-4bb7-99ba-7853c624912b",
"clientId" : "clientId-c93a063a-3a2f-4180-a1a7-6be175966432",
"clientSecret" : "clientSecret-4fd7492c-633e-4952-b808-b0c3241995c3",
"authorizationEndpoint" : "https://8b134f1b-1b9f-488e-a910-a437c712eb4d.issuer.idp/authorize",
"tokenEndpoint" : "https://8b134f1b-1b9f-488e-a910-a437c712eb4d.issuer.idp/token",
"userInfoEndpoint" : "https://8b134f1b-1b9f-488e-a910-a437c712eb4d.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "553c5572-b1be-4efd-8903-13f57f2bfe71",
"createdAt" : {
"nano" : 257489000,
"epochSecond" : 1764888013
},
"deletedAt" : {
"nano" : 269441000,
"epochSecond" : 1764888013
},
"deletedBy" : "43254ff8-e058-443e-b8fe-1735632d15ae",
"deleted" : true
}
Organization to OIDC Public Client Mappings
Find Organization Oidc Public Client Mappings
GET /organization-oidc-public-client-mappings
Authorization
This endpoint requires:
-
readaction on thisorganization-oidc-public-client-mappingresource.
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 |
|
customQueryParameters |
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/organization-oidc-public-client-mappings' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1582
[ {
"id" : "37967b35-b301-474a-8d74-ea331af6369d",
"organizationId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"oidcPublicClientId" : "f4e6fcd0-1839-4566-8828-856e42b8f156",
"name" : "Google-Account",
"active" : true,
"customQueryParameters" : "{}",
"createdBy" : "fe3e7d8b-aae6-4fed-8c32-26214760dd71",
"createdAt" : {
"nano" : 71060000,
"epochSecond" : 1764887957
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "40c8d2b2-9dda-4ce4-9a6d-7c67397f4016",
"organizationId" : "f86122fb-316b-4427-8c38-248165bf4504",
"oidcPublicClientId" : "290cc71d-cbd0-4c44-bf9e-a9d33a7314e6",
"name" : "NFSUPPORT Google Account",
"active" : true,
"customQueryParameters" : "{\"audience\": \"https://gateway.{env}.netfoundry.io/\", \"connection\": \"google-oauth2\"}",
"createdBy" : "2b6f496d-36f1-4e66-a205-8abcf1d41d74",
"createdAt" : {
"nano" : 338820000,
"epochSecond" : 1764887952
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "506f7ae4-b301-4749-bac9-7a070c2da335",
"organizationId" : "cc2433a9-c951-4a30-a57f-c23567fe7b87",
"oidcPublicClientId" : "290cc71d-cbd0-4c44-bf9e-a9d33a7314e6",
"name" : "NFSUPPORT-RO Google Account",
"active" : true,
"customQueryParameters" : "{\"audience\": \"https://gateway.{env}.netfoundry.io/\", \"connection\": \"google-oauth2\"}",
"createdBy" : "2b6f496d-36f1-4e66-a205-8abcf1d41d74",
"createdAt" : {
"nano" : 365828000,
"epochSecond" : 1764887952
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
} ]
Get Organization Oidc Public Client Mapping
GET /organization-oidc-public-client-mappings/{id}
Authorization
This endpoint requires:
-
readaction on thisorganization-oidc-public-client-mappingresource.
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 |
|
customQueryParameters |
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/organization-oidc-public-client-mappings/2e1832e2-f8f1-4872-a254-577694d7439d' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 495
{
"id" : "2e1832e2-f8f1-4872-a254-577694d7439d",
"organizationId" : "5dd2e0a4-77df-46cf-9601-f61dfce4bada",
"oidcPublicClientId" : "4af5b1de-b8de-4b0d-ad13-d465c8211fe4",
"name" : "console-client-7ab81cc6-d1b2-49e7-a12e-f06f6943a403",
"active" : true,
"customQueryParameters" : "{}",
"createdBy" : "0d0870cb-7de2-400f-9107-848e8ed234fb",
"createdAt" : {
"nano" : 446003000,
"epochSecond" : 1764888015
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Create Organization Oidc Public Client Mapping
POST /organization-oidc-public-client-mappings
Authorization
This endpoint requires:
-
createaction on thisorganization-oidc-public-client-mappingresource. -
readaction on theoidc-public-clientresource identified by theoidcPublicClientIdproperty.
Request fields
| Path | Type | Optional | Description |
|---|---|---|---|
organizationId |
String |
true |
|
oidcPublicClientId |
String |
true |
|
name |
String |
true |
|
active |
Boolean |
true |
|
customQueryParameters |
String |
true |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
oidcPublicClientId |
String |
true |
|
name |
String |
true |
|
active |
Boolean |
true |
|
customQueryParameters |
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/organization-oidc-public-client-mappings' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"organizationId" : "ebefd5b8-0614-466b-bb94-535b24e157aa",
"oidcPublicClientId" : "166ec9ab-afee-4bf8-a29f-64f22636f96d",
"name" : "console-client-7972d81f-1e4b-464a-88ee-032552b54f2e",
"active" : true,
"customQueryParameters" : "{}"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 495
{
"id" : "14a8533b-4a88-4ed3-a647-40053c448351",
"organizationId" : "ebefd5b8-0614-466b-bb94-535b24e157aa",
"oidcPublicClientId" : "166ec9ab-afee-4bf8-a29f-64f22636f96d",
"name" : "console-client-7972d81f-1e4b-464a-88ee-032552b54f2e",
"active" : true,
"customQueryParameters" : "{}",
"createdBy" : "3c87615f-2151-4ff3-af4b-e751c5ccfbb9",
"createdAt" : {
"nano" : 366662000,
"epochSecond" : 1764888015
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Update Organization Oidc Public Client Mapping
PATCH /organization-oidc-public-client-mappings/{id}
Authorization
This endpoint requires:
-
updateaction on thisorganization-oidc-public-client-mappingresource.
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Request fields
| Path | Type | Optional | Description |
|---|---|---|---|
name |
String |
true |
|
active |
Boolean |
true |
|
customQueryParameters |
String |
true |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
oidcPublicClientId |
String |
true |
|
name |
String |
true |
|
active |
Boolean |
true |
|
customQueryParameters |
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/organization-oidc-public-client-mappings/18d03026-b884-467e-92d9-ad4023f79243' -i -X PATCH \
-H 'Content-Type: application/json' \
-d '{
"name" : "custom-client-12b06f6d-e567-42fa-a794-12eb514fcad3",
"active" : true,
"customQueryParameters" : "{}"
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 494
{
"id" : "18d03026-b884-467e-92d9-ad4023f79243",
"organizationId" : "fb5d1daa-f25b-4bf5-9efb-da140d1362ee",
"oidcPublicClientId" : "4569230c-8a5a-4109-ada5-048799f79130",
"name" : "custom-client-12b06f6d-e567-42fa-a794-12eb514fcad3",
"active" : true,
"customQueryParameters" : "{}",
"createdBy" : "446fc4ee-dd8a-439c-90ae-5ee0be3e97ca",
"createdAt" : {
"nano" : 273653000,
"epochSecond" : 1764888015
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Delete Organization Oidc Public Client Mapping
DELETE /organization-oidc-public-client-mappings/{id}
Authorization
This endpoint requires:
-
deleteaction on thisorganization-oidc-public-client-mappingresource.
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 |
|
customQueryParameters |
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/organization-oidc-public-client-mappings/c8831340-697c-4ac1-881e-79caf0c56051' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 543
{
"id" : "c8831340-697c-4ac1-881e-79caf0c56051",
"organizationId" : "98a446ce-f6af-4dcb-8116-1d8c0dd9f284",
"oidcPublicClientId" : "6ae6d7d4-495c-481a-bc08-3d2dec7604dd",
"name" : "number two",
"active" : true,
"customQueryParameters" : "{}",
"createdBy" : "28d4cf89-f760-403c-9857-52a5009aad17",
"createdAt" : {
"nano" : 524403000,
"epochSecond" : 1764888015
},
"deletedAt" : {
"nano" : 539085000,
"epochSecond" : 1764888015
},
"deletedBy" : "f1938c9d-df68-43f5-8c92-44dc1f4d7e19",
"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: 1282
[ {
"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" : 736467000,
"epochSecond" : 1764887952
},
"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" : 736467000,
"epochSecond" : 1764887952
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "e7a6154d-0932-4d1a-a242-7ac78853b575",
"oidcIssuerId" : "f9dbd9a3-b877-4a80-b0fa-dc029dd03e11",
"audience" : "mop-aud-b2fd319a-202e-475b-a2fe-e921b20d22bc",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "bbe0eaf8-2ee1-4704-af35-f19441903bd0",
"createdAt" : {
"nano" : 128070000,
"epochSecond" : 1764888011
},
"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/deeefe06-36be-4365-a3be-5a9cbed6b65b' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 430
{
"id" : "deeefe06-36be-4365-a3be-5a9cbed6b65b",
"oidcIssuerId" : "f9e8b8ab-72ed-4f29-b789-6da0033068e3",
"audience" : "mop-aud-7bdca692-31ff-452b-89f3-a3ede37996db",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "bcd32933-9e31-49d8-b59f-06bfaec8b30a",
"createdAt" : {
"nano" : 735105000,
"epochSecond" : 1764888011
},
"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" : "ca8d9302-81fc-43a9-9767-f992bbbdf87f",
"audience" : "mop-aud-d06d7ab8-0b94-4b68-89c0-d6f8dd32f326",
"restrictedToOrganizationIds" : [ ],
"active" : true
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 430
{
"id" : "8b678892-0d13-469b-b209-3ef4803a158e",
"oidcIssuerId" : "ca8d9302-81fc-43a9-9767-f992bbbdf87f",
"audience" : "mop-aud-d06d7ab8-0b94-4b68-89c0-d6f8dd32f326",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "26f59399-812a-4eb4-88f7-5c56496d9ae1",
"createdAt" : {
"nano" : 671105000,
"epochSecond" : 1764888011
},
"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/d52a62ca-ff71-4676-a446-52fcf9fd9d49' -i -X PATCH \
-H 'Content-Type: application/json' \
-d '{
"audience" : "mop-aud-02101645-cca0-47df-89ac-bdd453ecb0e4",
"restrictedToOrganizationIds" : [ ],
"active" : false
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 431
{
"id" : "d52a62ca-ff71-4676-a446-52fcf9fd9d49",
"oidcIssuerId" : "09351793-ccee-4035-8fe3-b577065987cd",
"audience" : "mop-aud-02101645-cca0-47df-89ac-bdd453ecb0e4",
"restrictedToOrganizationIds" : [ ],
"active" : false,
"createdBy" : "3260dc23-0163-418e-977d-8c99976db92a",
"createdAt" : {
"nano" : 563147000,
"epochSecond" : 1764888011
},
"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/6490d99b-4745-426b-a630-d8fe3d4b14a7' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 519
{
"id" : "6490d99b-4745-426b-a630-d8fe3d4b14a7",
"oidcIssuerId" : "4ead4f0b-aba1-482e-99a1-4502242dc1ad",
"audience" : "mop-aud-a1abb68e-0808-4312-8da0-f416390b6224",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "c42d9321-8a1f-4d94-b2a8-211760e2eb2d",
"createdAt" : {
"nano" : 789165000,
"epochSecond" : 1764888011
},
"deletedAt" : {
"nano" : 800566000,
"epochSecond" : 1764888011
},
"deletedBy" : "3253656b-ae57-492d-b213-cc4f82314d27",
"deleted" : true
}
User Identity to OIDC Audience Mappings
Find User Identity Audience Mappings
GET /user-identity-oidc-audience-mappings
Authorization
This endpoint requires:
-
readaction on thisuser-identity-oidc-audience-mappingresource.
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:
-
readaction on thisuser-identity-oidc-audience-mappingresource.
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/13efc687-01a0-4b65-9f30-ff4365dd3016' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 459
{
"id" : "13efc687-01a0-4b65-9f30-ff4365dd3016",
"userIdentityId" : "ca22b044-1895-4c0e-a519-0f5e30f13a83",
"oidcAudienceId" : "ccf96950-541b-4ea7-b7a9-3c6dcf277637",
"subject" : "console-client-e93a80f6-5c8c-4905-885b-9bedab8a79c9",
"active" : true,
"createdBy" : "6d7f143e-e6a9-430d-91ad-1deb24f9ca71",
"createdAt" : {
"nano" : 45534000,
"epochSecond" : 1764888023
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Create User Identity Audience Mapping
POST /user-identity-oidc-audience-mappings
Authorization
This endpoint requires:
-
createaction on thisuser-identity-oidc-audience-mappingresource. -
create-identity-mappingaction on theuser-identityresource identified by theuserIdentityIdproperty. -
readaction on theoidc-audienceresource identified by theoidcAudienceIdproperty.
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" : "ef1b011b-1607-400b-a237-6721b5b2afff",
"oidcAudienceId" : "72437503-2a90-428e-a7cf-77814dea36ff",
"subject" : "console-client-b0cef375-68a7-4b7d-9a89-d24a4cd99916",
"active" : true
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 460
{
"id" : "e404cb94-aefe-423e-b40d-18814b7bdd73",
"userIdentityId" : "ef1b011b-1607-400b-a237-6721b5b2afff",
"oidcAudienceId" : "72437503-2a90-428e-a7cf-77814dea36ff",
"subject" : "console-client-b0cef375-68a7-4b7d-9a89-d24a4cd99916",
"active" : true,
"createdBy" : "7257bdf3-4d4c-47c3-aefd-8adc88ee1f0e",
"createdAt" : {
"nano" : 996667000,
"epochSecond" : 1764888022
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Update User Identity Audience Mapping
PATCH /user-identity-oidc-audience-mappings/{id}
Authorization
This endpoint requires:
-
updateaction on thisuser-identity-oidc-audience-mappingresource.
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/bf8bf969-3446-4d42-9316-cd8e1508ecfa' -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" : "bf8bf969-3446-4d42-9316-cd8e1508ecfa",
"userIdentityId" : "f5a962b0-7c1f-4627-a7f2-84e0543b4105",
"oidcAudienceId" : "07c0a8c5-f21c-426b-ac18-2024662ea457",
"subject" : "console-client-6136c3ca-a486-4703-98d1-31294e3f1c2d",
"active" : false,
"createdBy" : "ade4754e-652c-4273-a097-6138e94bfe24",
"createdAt" : {
"nano" : 916490000,
"epochSecond" : 1764888022
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Delete User Identity Audience Mapping
DELETE /user-identity-oidc-audience-mappings/{id}
Authorization
This endpoint requires:
-
deleteaction on thisuser-identity-oidc-audience-mappingresource.
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/ca384eb5-e593-4e55-94d4-bcde7a790827' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 549
{
"id" : "ca384eb5-e593-4e55-94d4-bcde7a790827",
"userIdentityId" : "d9434d5f-74ea-4be9-8dd7-ee6a61262e2d",
"oidcAudienceId" : "ad6db5c2-169c-4bcb-a392-cc4e497dbe1f",
"subject" : "console-client-ce51e401-4edc-46f3-900a-03410717e7bb",
"active" : true,
"createdBy" : "bf9cdc56-1560-4cc8-a00c-e96d814cc221",
"createdAt" : {
"nano" : 101943000,
"epochSecond" : 1764888023
},
"deletedAt" : {
"nano" : 112889000,
"epochSecond" : 1764888023
},
"deletedBy" : "e72d1dfd-4150-4792-b617-3fe565f0f96f",
"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
Link: <https://gateway.netFoundry.io/identity/v1/identity-providers?page=1>; rel="next", <https://gateway.netFoundry.io/identity/v1/identity-providers?page=1>; rel="last"
Content-Type: application/json
Content-Length: 1135
[ {
"id" : "3e753cb3-03c0-4f06-9d12-b1c72d6a5447",
"organizationId" : "3613d612-a74a-41a5-854d-132afb47bc04",
"auth0ConnectionId" : "auth0-opaque-connectionId-65",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 559174000,
"epochSecond" : 1764888004
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "40c8d2b2-9dda-4ce4-9a6d-7c67397f4016",
"organizationId" : "f86122fb-316b-4427-8c38-248165bf4504",
"auth0ConnectionId" : "google-oauth2",
"name" : "NFSUPPORT Google Account",
"auth0ConnectionType" : "Social",
"active" : true,
"createdAt" : {
"nano" : 338820000,
"epochSecond" : 1764887952
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "41b04cd1-ed77-42c1-9941-ae0ec7960970",
"organizationId" : "47dbc38b-7d20-4ae5-b848-40cc330f2352",
"auth0ConnectionId" : "auth0-opaque-connectionId-85",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 190290000,
"epochSecond" : 1764888005
},
"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/41f1406e-29a1-4d66-b380-030cc9377142' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 373
{
"id" : "41f1406e-29a1-4d66-b380-030cc9377142",
"organizationId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"auth0ConnectionId" : "auth0-opaque-connectionId-4",
"name" : "Google-Account",
"auth0ConnectionType" : "Social",
"active" : true,
"createdAt" : {
"nano" : 875347000,
"epochSecond" : 1764887956
},
"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" : "23d6e584-6c8c-4880-a4d4-cd6878ee66fb",
"auth0ConnectionId" : "auth0-opaque-connection",
"name" : "Corp SAML",
"auth0ConnectionType" : "Enterprise"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 368
{
"id" : "d8403d4e-9e62-42c3-8ff5-f92f687ce039",
"organizationId" : "23d6e584-6c8c-4880-a4d4-cd6878ee66fb",
"auth0ConnectionId" : "auth0-opaque-connection",
"name" : "Corp SAML",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 448202000,
"epochSecond" : 1764888009
},
"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/15739fc1-7192-4aba-84fc-a78fb788a800' -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" : "15739fc1-7192-4aba-84fc-a78fb788a800",
"organizationId" : "9ec7c242-4542-40be-92a1-761215baf9b2",
"auth0ConnectionId" : "auth0-opaque-connectionId-230",
"name" : "New IdP Name",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 832116000,
"epochSecond" : 1764888009
},
"updatedAt" : {
"nano" : 854428000,
"epochSecond" : 1764888009
},
"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/d0bb5ad6-d0f6-41ae-8bdd-c7949f8c0244/activate' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 380
{
"id" : "d0bb5ad6-d0f6-41ae-8bdd-c7949f8c0244",
"organizationId" : "d0b77b6f-9a9e-4438-885f-b4be4340e4ad",
"auth0ConnectionId" : "auth0-opaque-connectionId-224",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 562516000,
"epochSecond" : 1764888009
},
"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/991c802d-c224-48e8-b3bb-026844d523e8' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 492
{
"id" : "991c802d-c224-48e8-b3bb-026844d523e8",
"organizationId" : "c6d514a2-9e71-4448-b7aa-f1a833079485",
"auth0ConnectionId" : "auth0-opaque-connectionId-228",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 759916000,
"epochSecond" : 1764888009
},
"updatedAt" : {
"nano" : 777753000,
"epochSecond" : 1764888009
},
"deletedAt" : {
"nano" : 776000000,
"epochSecond" : 1764888009
}
}
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: 1405
[ {
"id" : "2dcf11d6-0b99-46c5-b7c8-138a166e5c17",
"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" : 415759000,
"epochSecond" : 1764887952
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "4ccb9ea5-df58-4831-b937-aeb063c2faf3",
"organizationId" : "cc2433a9-c951-4a30-a57f-c23567fe7b87",
"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" : 415759000,
"epochSecond" : 1764887952
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "6bc63ac1-6f3b-46ea-81bd-7edcbb39e889",
"organizationId" : "95068bb0-864b-4930-b06e-9acf4957c826",
"name" : "Network Group Admin - Cloud Engineering Network Group",
"roleType" : "Standard",
"roleId" : "b75be358-a3f9-40a5-972d-a804c4758041",
"createdBy" : "2b6f496d-36f1-4e66-a205-8abcf1d41d74",
"createdAt" : {
"nano" : 482421000,
"epochSecond" : 1764887952
},
"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/c6c69370-989c-44e5-9f78-04e10f6c214d' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 457
{
"id" : "c6c69370-989c-44e5-9f78-04e10f6c214d",
"organizationId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"name" : "Standard Role - 7918d390-de49-4fab-9004-83f84f5af7d8",
"roleType" : "Standard",
"roleId" : "7918d390-de49-4fab-9004-83f84f5af7d8",
"createdBy" : "6d256955-1a95-48bf-a3a0-b10391bda8b0",
"createdAt" : {
"nano" : 83956000,
"epochSecond" : 1764887957
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Create Default Role
POST /default-roles
Authorization
This endpoint requires:
-
createaction on thisdefault-roleresource. -
updateaction on theorganizationresource identified by theorganizationproperty.
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" : "47dbc38b-7d20-4ae5-b848-40cc330f2352",
"roleType" : "Standard",
"roleId" : "9d53a688-01d7-4408-8718-ac2ea1c35d67"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 458
{
"id" : "246a0aab-2cfc-4919-9f1d-1d8a5c543d5f",
"organizationId" : "47dbc38b-7d20-4ae5-b848-40cc330f2352",
"name" : "Standard Role - 9d53a688-01d7-4408-8718-ac2ea1c35d67",
"roleType" : "Standard",
"roleId" : "9d53a688-01d7-4408-8718-ac2ea1c35d67",
"createdBy" : "77f02c65-8351-483c-bb7b-a60625c3dd77",
"createdAt" : {
"nano" : 263483000,
"epochSecond" : 1764888005
},
"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/269bdf42-a5ed-4002-8839-6c72588d436a' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 547
{
"id" : "269bdf42-a5ed-4002-8839-6c72588d436a",
"organizationId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"name" : "Standard Role - ca3116be-0317-4514-8b68-2ddf5b1d7bc1",
"roleType" : "Standard",
"roleId" : "ca3116be-0317-4514-8b68-2ddf5b1d7bc1",
"createdBy" : "7e8355ff-6e08-47de-9c12-0421a22d0683",
"createdAt" : {
"nano" : 889448000,
"epochSecond" : 1764888004
},
"deletedAt" : {
"nano" : 906000000,
"epochSecond" : 1764888004
},
"deletedBy" : "4102c277-3cc0-45d3-bd59-4d388525d8f7",
"deleted" : true
}
Grant Default Role
POST /default-roles/{id}/grant
Authorization
This endpoint requires:
-
readaction on thisdefault-roleresource. -
createaction on theinvitationresource identified by theorganizationproperty.
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/8a88e7de-71d0-40d6-9e3c-890347406f95/grant' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"includeIdentityIds" : [ "6728bca6-fd65-4134-b471-b8b6a353a4ff", "8e480faf-f4ce-4e7c-8e35-0462d82d3248", "36d9f85b-310f-491d-930e-162bc49eca1d" ],
"excludeIdentityIds" : [ "7476662d-f6d9-4844-b427-e9918f45e014", "8e480faf-f4ce-4e7c-8e35-0462d82d3248", "36d9f85b-310f-491d-930e-162bc49eca1d" ]
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 51
{
"6728bca6-fd65-4134-b471-b8b6a353a4ff" : 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 |
|---|---|---|---|
name |
String |
true |
|
id |
String |
true |
|
type |
String |
true |
|
active |
Boolean |
true |
|
deletedAt |
Object |
true |
|
String |
true |
||
tenantId |
String |
true |
Deprecated.. |
organizationId |
String |
true |
|
createdAt |
Object |
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" : "03a1b302-7688-427f-adb9-c4e073b1df25",
"organizationId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"firstName" : "First",
"lastName" : "Last",
"email" : "random-360@acme.com",
"identityMappings" : [ {
"id" : "6072c20d-5635-4dfc-b973-71f5fe5993ad",
"auth0UserId" : "auth0-opaque-userId-361",
"identityProviderId" : "41f1406e-29a1-4d66-b380-030cc9377142",
"userIdentityId" : "03a1b302-7688-427f-adb9-c4e073b1df25"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 962843000,
"epochSecond" : 1764888021
},
"deletedAt" : null,
"name" : "First Last",
"tenantId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"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 |
|---|---|---|---|
name |
String |
true |
|
id |
String |
true |
|
type |
String |
true |
|
active |
Boolean |
true |
|
deletedAt |
Object |
true |
|
String |
true |
||
tenantId |
String |
true |
Deprecated.. |
organizationId |
String |
true |
|
createdAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identities/f0d3a911-7999-4a59-83ad-e141fd3dd3c1' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 710
{
"id" : "f0d3a911-7999-4a59-83ad-e141fd3dd3c1",
"organizationId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"firstName" : "John",
"lastName" : "Doe",
"email" : "john.doe@acme.com",
"identityMappings" : [ {
"id" : "7a0e2750-a101-4254-9524-dbd3e863f17c",
"auth0UserId" : "auth0-opaque-userId-5",
"identityProviderId" : "750b63fb-f36b-4506-b959-0c4eb6dc00f8",
"userIdentityId" : "f0d3a911-7999-4a59-83ad-e141fd3dd3c1"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 174095000,
"epochSecond" : 1764887957
},
"deletedAt" : null,
"name" : "John Doe",
"tenantId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"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 |
|
name |
String |
true |
|
tenantId |
String |
true |
Deprecated.. |
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities' -i -X GET
Example response
HTTP/1.1 200 OK
Link: <https://gateway.netFoundry.io/identity/v1/user-identities?page=1>; rel="next", <https://gateway.netFoundry.io/identity/v1/user-identities?page=4>; rel="last"
Content-Type: application/json
Content-Length: 2160
[ {
"id" : "041dd033-1c19-4037-9c49-8113a06dcee0",
"organizationId" : "84eb2ec3-da1a-4d8b-8e38-adfbf7091a09",
"firstName" : "First",
"lastName" : "Last",
"email" : "random-95@acme.com",
"identityMappings" : [ {
"id" : "4e4eef4f-5b06-44ca-bae3-b078efce4ac4",
"auth0UserId" : "auth0-opaque-userId-96",
"identityProviderId" : "72453f8a-92f3-41dd-9e87-a8aa434826e0",
"userIdentityId" : "041dd033-1c19-4037-9c49-8113a06dcee0"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 444602000,
"epochSecond" : 1764888005
},
"deletedAt" : null,
"name" : "First Last",
"tenantId" : "84eb2ec3-da1a-4d8b-8e38-adfbf7091a09",
"type" : "UserIdentity"
}, {
"id" : "063fad93-8710-480c-90c6-37d789b7cac8",
"organizationId" : "84eb2ec3-da1a-4d8b-8e38-adfbf7091a09",
"firstName" : "First",
"lastName" : "Last",
"email" : "random-100@acme.com",
"identityMappings" : [ {
"id" : "503f7884-a5df-45b3-bba8-2dfb99718dce",
"auth0UserId" : "auth0-opaque-userId-101",
"identityProviderId" : "72453f8a-92f3-41dd-9e87-a8aa434826e0",
"userIdentityId" : "063fad93-8710-480c-90c6-37d789b7cac8"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 451418000,
"epochSecond" : 1764888005
},
"deletedAt" : null,
"name" : "First Last",
"tenantId" : "84eb2ec3-da1a-4d8b-8e38-adfbf7091a09",
"type" : "UserIdentity"
}, {
"id" : "15924ced-c74d-41f6-a8c8-7201f5d4757a",
"organizationId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"firstName" : "First",
"lastName" : "Last",
"email" : "random-116@acme.com",
"identityMappings" : [ {
"id" : "0e571f5a-bf75-4d1a-82e0-64b57019aece",
"auth0UserId" : "auth0-opaque-userId-117",
"identityProviderId" : "41f1406e-29a1-4d66-b380-030cc9377142",
"userIdentityId" : "15924ced-c74d-41f6-a8c8-7201f5d4757a"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 778538000,
"epochSecond" : 1764888006
},
"deletedAt" : null,
"name" : "First Last",
"tenantId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"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 |
|
name |
String |
true |
|
tenantId |
String |
true |
Deprecated.. |
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities/f0d3a911-7999-4a59-83ad-e141fd3dd3c1' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 710
{
"id" : "f0d3a911-7999-4a59-83ad-e141fd3dd3c1",
"organizationId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"firstName" : "John",
"lastName" : "Doe",
"email" : "john.doe@acme.com",
"identityMappings" : [ {
"id" : "7a0e2750-a101-4254-9524-dbd3e863f17c",
"auth0UserId" : "auth0-opaque-userId-5",
"identityProviderId" : "750b63fb-f36b-4506-b959-0c4eb6dc00f8",
"userIdentityId" : "f0d3a911-7999-4a59-83ad-e141fd3dd3c1"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 174095000,
"epochSecond" : 1764887957
},
"deletedAt" : null,
"name" : "John Doe",
"tenantId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"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 |
|
name |
String |
true |
|
tenantId |
String |
true |
Deprecated.. |
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities/mapping/auth0-opaque-userId-5/750b63fb-f36b-4506-b959-0c4eb6dc00f8' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 710
{
"id" : "f0d3a911-7999-4a59-83ad-e141fd3dd3c1",
"organizationId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"firstName" : "John",
"lastName" : "Doe",
"email" : "john.doe@acme.com",
"identityMappings" : [ {
"id" : "7a0e2750-a101-4254-9524-dbd3e863f17c",
"auth0UserId" : "auth0-opaque-userId-5",
"identityProviderId" : "750b63fb-f36b-4506-b959-0c4eb6dc00f8",
"userIdentityId" : "f0d3a911-7999-4a59-83ad-e141fd3dd3c1"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 174095000,
"epochSecond" : 1764887957
},
"deletedAt" : null,
"name" : "John Doe",
"tenantId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"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 |
|
name |
String |
true |
|
tenantId |
String |
true |
Deprecated.. |
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"organizationId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"firstName" : "Jane",
"lastName" : "Doe",
"email" : "jane.doe@acme.com"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 479
{
"id" : "03c5905c-6391-4015-a814-c7471f6dbdef",
"organizationId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"firstName" : "Jane",
"lastName" : "Doe",
"email" : "jane.doe@acme.com",
"identityMappings" : [ ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 534173000,
"epochSecond" : 1764888022
},
"deletedAt" : null,
"name" : "Jane Doe",
"tenantId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"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 |
|
name |
String |
true |
|
tenantId |
String |
true |
Deprecated.. |
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities/8af28d2b-fba0-4f6f-8f55-58ce10cf33ab' -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" : "8af28d2b-fba0-4f6f-8f55-58ce10cf33ab",
"organizationId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"firstName" : "Bobby",
"lastName" : "White",
"email" : "bobby.white@acme.com",
"identityMappings" : [ {
"id" : "b18bbc9e-8fed-48a8-9e69-463c5d8db7cc",
"auth0UserId" : "auth0-opaque-userId-365",
"identityProviderId" : "41f1406e-29a1-4d66-b380-030cc9377142",
"userIdentityId" : "8af28d2b-fba0-4f6f-8f55-58ce10cf33ab"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 137061000,
"epochSecond" : 1764888022
},
"deletedAt" : null,
"name" : "Bobby White",
"tenantId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"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 |
|
name |
String |
true |
|
tenantId |
String |
true |
Deprecated.. |
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities/684f8a82-91d0-4265-8547-a1bf55ff65d3/deactivate' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 719
{
"id" : "684f8a82-91d0-4265-8547-a1bf55ff65d3",
"organizationId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"firstName" : "First",
"lastName" : "Last",
"email" : "random-366@acme.com",
"identityMappings" : [ {
"id" : "658b35c1-b010-42e8-b73f-7544f474158c",
"auth0UserId" : "auth0-opaque-userId-367",
"identityProviderId" : "41f1406e-29a1-4d66-b380-030cc9377142",
"userIdentityId" : "684f8a82-91d0-4265-8547-a1bf55ff65d3"
} ],
"identityAudienceMappings" : [ ],
"active" : false,
"createdAt" : {
"nano" : 196826000,
"epochSecond" : 1764888022
},
"deletedAt" : null,
"name" : "First Last",
"tenantId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"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/b068c436-9294-4e67-8909-c4afe0fabf25/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-mappingaction on thisuser-identityresource.
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/2a8fd350-3732-4602-9187-c4792ddc72ab/mapping' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"auth0UserId" : "new-auth0-userId:1ca3cebe-6373-45d7-9971-68490b6dcaf3",
"identityProviderId" : "750b63fb-f36b-4506-b959-0c4eb6dc00f8"
}'
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
Link: <https://gateway.netFoundry.io/identity/v1/api-account-identities?page=1>; rel="next", <https://gateway.netFoundry.io/identity/v1/api-account-identities?page=2>; rel="last"
Content-Type: application/json
Content-Length: 2006
[ {
"id" : "12ee7006-08bc-4c89-a6d5-b7a763b7cbc7",
"organizationId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"auth0ClientId" : null,
"awsCognitoClientId" : "8d922e46-c1c3-44a8-8b70-431ad7bf6453|yaoaowlm",
"authenticationUrl" : "https://netfoundry-test-xttpuj.auth.us-east-1.amazoncognito.com/oauth2/token",
"name" : "Testing Limits",
"contactEmail" : "a@acme.com",
"description" : "description",
"active" : true,
"createdAt" : {
"nano" : 229079000,
"epochSecond" : 1764887968
},
"updatedAt" : null,
"deletedAt" : null,
"email" : "a@acme.com",
"tenantId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"type" : "ApiAccountIdentity"
}, {
"id" : "130d4e67-6068-46d6-9591-005dbfde529a",
"organizationId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"auth0ClientId" : null,
"awsCognitoClientId" : "86bc21d8-0c67-46d5-a7a6-6e593f4c079c|vnuqaelp",
"authenticationUrl" : "https://netfoundry-test-asxubu.auth.us-east-1.amazoncognito.com/oauth2/token",
"name" : "Testing Limits",
"contactEmail" : "a@acme.com",
"description" : "description",
"active" : true,
"createdAt" : {
"nano" : 793395000,
"epochSecond" : 1764887965
},
"updatedAt" : null,
"deletedAt" : null,
"email" : "a@acme.com",
"tenantId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"type" : "ApiAccountIdentity"
}, {
"id" : "22b35cfe-448a-4efa-8a06-a71c88583dbd",
"organizationId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"auth0ClientId" : null,
"awsCognitoClientId" : "66d6e47b-16bd-49a5-94a8-0c78eb73cf6d|inixpbpx",
"authenticationUrl" : "https://netfoundry-test-afecgk.auth.us-east-1.amazoncognito.com/oauth2/token",
"name" : "Testing Limits",
"contactEmail" : "a@acme.com",
"description" : "description",
"active" : true,
"createdAt" : {
"nano" : 705421000,
"epochSecond" : 1764887970
},
"updatedAt" : null,
"deletedAt" : null,
"email" : "a@acme.com",
"tenantId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"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/9cf15a25-c584-4f26-b935-8def5f6d9e41' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 718
{
"id" : "9cf15a25-c584-4f26-b935-8def5f6d9e41",
"organizationId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"auth0ClientId" : "e75862f6-d944-427f-8221-8db46fb7715f",
"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" : 210864000,
"epochSecond" : 1764887957
},
"updatedAt" : {
"nano" : 172549000,
"epochSecond" : 1764887959
},
"deletedAt" : null,
"email" : "no-reply@acme.com",
"tenantId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"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/89538d62-a55c-47f9-a223-a8237e34db8e' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 682
{
"id" : "a0b7dbc5-9c2b-423e-9bfb-94d5915a656e",
"organizationId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"auth0ClientId" : "89538d62-a55c-47f9-a223-a8237e34db8e",
"awsCognitoClientId" : null,
"authenticationUrl" : "http://127.0.0.1:1234/IdP/OAuth2/login",
"name" : "ACME Internal Service-31",
"contactEmail" : "service.admin-32@foo.com",
"description" : "updatable API Account description-33",
"active" : true,
"createdAt" : {
"nano" : 957098000,
"epochSecond" : 1764887996
},
"updatedAt" : null,
"deletedAt" : null,
"email" : "service.admin-32@foo.com",
"tenantId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"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" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"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" : "9054014e-c7d0-4903-bb8a-760d3c3fdcbb",
"organizationId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"auth0ClientId" : null,
"awsCognitoClientId" : "2a692d8a-667a-47b7-8cd4-c020cd9e4ffc|bctcemvf",
"authenticationUrl" : "https://netfoundry-test-uvwuen.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" : 155919000,
"epochSecond" : 1764887963
},
"updatedAt" : null,
"deletedAt" : null,
"email" : "hr.director@acme.com",
"tenantId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"type" : "ApiAccountIdentity"
},
"clientId" : "bctcemvf",
"password" : "jndhmgjsegxknfynunvqwvvv",
"authenticationUrl" : "https://netfoundry-test-uvwuen.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/fb03e1c2-5514-4012-a310-60e0b85eae14' -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" : "fb03e1c2-5514-4012-a310-60e0b85eae14",
"organizationId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"auth0ClientId" : "d7e6733a-54fd-4cc5-951e-ef3c054d154f",
"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" : 253066000,
"epochSecond" : 1764887957
},
"updatedAt" : {
"nano" : 190252000,
"epochSecond" : 1764887958
},
"deletedAt" : null,
"email" : "robot@acme.com",
"tenantId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"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/61cc64bf-224e-4d5e-97bc-4d6a1958c4e5/deactivate' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 739
{
"id" : "61cc64bf-224e-4d5e-97bc-4d6a1958c4e5",
"organizationId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"auth0ClientId" : "d6fd3e08-e78b-4405-a03b-fdc5b272c0e8",
"awsCognitoClientId" : null,
"authenticationUrl" : "http://127.0.0.1:1234/IdP/OAuth2/login",
"name" : "ACME Internal Service-25",
"contactEmail" : "service.admin-26@foo.com",
"description" : "updatable API Account description-27",
"active" : false,
"createdAt" : {
"nano" : 752420000,
"epochSecond" : 1764887996
},
"updatedAt" : {
"nano" : 787099000,
"epochSecond" : 1764887996
},
"deletedAt" : null,
"email" : "service.admin-26@foo.com",
"tenantId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"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 |
|
invitationHost |
String |
true |
|
expiration |
Object |
true |
|
targetUserIdentityId |
String |
true |
|
accepted |
Boolean |
true |
|
revokedAt |
Object |
true |
|
responseReceivedAt |
Object |
true |
|
state |
String |
true |
|
toTenantId |
String |
true |
Deprecated.. |
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: 564
[ {
"id" : "4c7a4225-29da-41fd-82b7-08e56ff78b58",
"fromIdentityId" : "d3cbaa64-867c-44b1-b20e-d4c0027e87b3",
"toOrganizationId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"invitedEmailAddress" : "new.employee@acme.com",
"invitationHost" : "netfoundry.io",
"expiration" : {
"nano" : 72846000,
"epochSecond" : 1765492810
},
"targetUserIdentityId" : "9960d984-6bc0-4e02-b5d0-c0127ed19b09",
"accepted" : null,
"revokedAt" : null,
"responseReceivedAt" : null,
"state" : "Open",
"toTenantId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7"
} ]
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 |
|
invitationHost |
String |
true |
|
expiration |
Object |
true |
|
targetUserIdentityId |
String |
true |
|
accepted |
Boolean |
true |
|
revokedAt |
Object |
true |
|
responseReceivedAt |
Object |
true |
|
state |
String |
true |
|
toTenantId |
String |
true |
Deprecated.. |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/invitations/5f23ec63-a302-4c7d-be04-f74162588fbf' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 564
{
"id" : "5f23ec63-a302-4c7d-be04-f74162588fbf",
"fromIdentityId" : "f0d3a911-7999-4a59-83ad-e141fd3dd3c1",
"toOrganizationId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"invitedEmailAddress" : "new.employee-240@acme.com",
"invitationHost" : "cloudziti.io",
"expiration" : {
"nano" : 411134000,
"epochSecond" : 1765492810
},
"targetUserIdentityId" : "3a9ee5da-ebdf-46bb-bcfd-048c0e1bf9c7",
"accepted" : null,
"revokedAt" : null,
"responseReceivedAt" : null,
"state" : "Open",
"toTenantId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7"
}
Create Invitation
POST /invitations
Authorization
This endpoint requires:
-
createaction on thisinvitationresource. -
readaction on theuser-identityresource identified by thetargetUserIdentityIdproperty.
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 |
|
invitationHost |
String |
true |
|
expiration |
Object |
true |
|
targetUserIdentityId |
String |
true |
|
accepted |
Boolean |
true |
|
revokedAt |
Object |
true |
|
responseReceivedAt |
Object |
true |
|
state |
String |
true |
|
toTenantId |
String |
true |
Deprecated.. |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/invitations' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"toOrganizationId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"invitedEmailAddress" : "new.employee@acme.com",
"invitationUrl" : "http://acme.console.netfoundry.io/invitation",
"targetUserIdentityId" : "9960d984-6bc0-4e02-b5d0-c0127ed19b09"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 560
{
"id" : "4c7a4225-29da-41fd-82b7-08e56ff78b58",
"fromIdentityId" : "d3cbaa64-867c-44b1-b20e-d4c0027e87b3",
"toOrganizationId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"invitedEmailAddress" : "new.employee@acme.com",
"invitationHost" : "netfoundry.io",
"expiration" : {
"nano" : 72846000,
"epochSecond" : 1765492810
},
"targetUserIdentityId" : "9960d984-6bc0-4e02-b5d0-c0127ed19b09",
"accepted" : null,
"revokedAt" : null,
"responseReceivedAt" : null,
"state" : "Open",
"toTenantId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7"
}
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 |
|
invitationHost |
String |
true |
|
expiration |
Object |
true |
|
targetUserIdentityId |
String |
true |
|
accepted |
Boolean |
true |
|
revokedAt |
Object |
true |
|
responseReceivedAt |
Object |
true |
|
state |
String |
true |
|
toTenantId |
String |
true |
Deprecated.. |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/invitations/0841bdac-d590-46ba-9ee3-c6eff4dbea21/decline' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 625
{
"id" : "0841bdac-d590-46ba-9ee3-c6eff4dbea21",
"fromIdentityId" : "f0d3a911-7999-4a59-83ad-e141fd3dd3c1",
"toOrganizationId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"invitedEmailAddress" : "new.employee-237@acme.com",
"invitationHost" : "cloudziti.io",
"expiration" : {
"nano" : 353496000,
"epochSecond" : 1765492810
},
"targetUserIdentityId" : "01c7f1b4-c824-47cc-9adb-d806bffb13fd",
"accepted" : false,
"revokedAt" : null,
"responseReceivedAt" : {
"nano" : 365661000,
"epochSecond" : 1764888010
},
"state" : "Declined",
"toTenantId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7"
}
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 |
|
invitationHost |
String |
true |
|
expiration |
Object |
true |
|
targetUserIdentityId |
String |
true |
|
accepted |
Boolean |
true |
|
revokedAt |
Object |
true |
|
responseReceivedAt |
Object |
true |
|
state |
String |
true |
|
toTenantId |
String |
true |
Deprecated.. |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/invitations/e6877285-206b-46ac-a54d-e56591a5cd95/revoke' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 679
{
"id" : "e6877285-206b-46ac-a54d-e56591a5cd95",
"fromIdentityId" : "f0d3a911-7999-4a59-83ad-e141fd3dd3c1",
"toOrganizationId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7",
"invitedEmailAddress" : "new.employee-243@acme.com",
"invitationHost" : "cloudziti.io",
"expiration" : {
"nano" : 464074000,
"epochSecond" : 1765492810
},
"targetUserIdentityId" : "9fd68b6f-b3a6-4cdb-92d4-3113e35da6b0",
"accepted" : null,
"revokedAt" : {
"nano" : 475519000,
"epochSecond" : 1764888010
},
"responseReceivedAt" : {
"nano" : 475522000,
"epochSecond" : 1764888010
},
"state" : "Revoked",
"toTenantId" : "42c4495a-755c-40c3-969e-f1c4f0e1d6b7"
}
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]. |
toTenantLabel |
String |
true |
Deprecated.. |
toTenantName |
String |
true |
Deprecated.. |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/invitations/key/1SZhVD5HjUFF7gqr0JrMSP989NrOpzTlESyS' -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-250@acme.com"
},
"invitedEmailAddress" : "new.employee-252@acme.com",
"toOrganizationName" : "ACME International, Inc.",
"toOrganizationLabel" : "ACME-2",
"expiration" : {
"nano" : 831403000,
"epochSecond" : 1765492810
},
"accepted" : null,
"state" : "Open",
"toTenantLabel" : "ACME-2",
"toTenantName" : "ACME International, Inc."
}
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]. |
toTenantLabel |
String |
true |
Deprecated.. |
toTenantName |
String |
true |
Deprecated.. |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/invitations/key/e05cCQdneU1mqY1M6boX0dRi1tpVZGuaRuzC/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-247@acme.com"
},
"invitedEmailAddress" : "new.employee-249@acme.com",
"toOrganizationName" : "ACME International, Inc.",
"toOrganizationLabel" : "ACME-2",
"expiration" : {
"nano" : 727824000,
"epochSecond" : 1765492810
},
"accepted" : false,
"state" : "Declined",
"toTenantLabel" : "ACME-2",
"toTenantName" : "ACME International, Inc."
}
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/NOuCnqQ6Ch3HxQufVrjArpSdSv42jFLX4OIW/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.eyJpYXQiOjE3NjQ4ODgwMTAsImV4cCI6MTc2NDg4ODkxMCwiaXNzIjoiaHR0cDovL2xvY2FsaG9zdDo4MDgwL2lkZW50aXR5L3YxIiwiYXVkIjoiaHR0cHM6Ly9uZXRmb3VuZHJ5LXNhbmRib3guYXV0aDAuY29tLyIsImZsb3ciOiJpbnZpdGF0aW9uIiwiaW52aXRhdGlvbklkIjoiZjU0OGQzZGMtYzVhNi00YTAxLWI0ZmYtNjkwOGE0YTdlMzZlIiwidGVuYW50TGFiZWwiOiJBQ01FLTIiLCJhdXRoMENvbm5lY3Rpb25JZHMiOlsiYXV0aDAtb3BhcXVlLWNvbm5lY3Rpb25JZC00IiwiYXV0aDAtb3BhcXVlLWNvbm5lY3Rpb25JZC0zIl0sInJlZGlyZWN0VXJsIjoiaHR0cDovL2NvbnNvbGUubmZhZG1pbi5uZXRmb3VuZHJ5LmlvL2ludml0YXRpb24ifQ.occt4G7dC9g5miZD4i4QWsUq9iClyM40LfERycfr5PdXkI6UuTK77KMFpjmSSypL5Lbp8Fo5p4JmPJz6lRnr22Qr9bLejbqYGtiAIP8POz9ehSIpA5sM0hVN6ScxFVQEKbD6c56Sw23hDWBVeK7b7LHkDCnHFYeOuKLyXyPg9b3yEFObo5tkPrE2Ifn0Comz95wEKrKLzKJAAzT5GtiQ8opTQllZ73_74o_KlO4iuuyt1nJ-GgtBysvGy-1_EQZDKwWPG2hpdZ60l-9ugIyxdLX9JcxNT645RAljF1HCYdG-4yOcTuwYoCJ41hP6r8lzJJS95t01Xp-LNgkrWwVlaQ",
"auth0ConnectionIds" : [ "auth0-opaque-connectionId-4", "auth0-opaque-connectionId-3" ]
}
Login Flow
Initiate Interactive Authorization
POST /organizations/authorize-initiate
Authorization
Authorization not required for this request.
Request fields
| Path | Type | Optional | Description |
|---|---|---|---|
realmLabel |
String |
true |
|
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 '{
"realmLabel" : "netfoundry",
"label" : "ACME-2",
"intermediateReturnUrl" : "http://console.nfadmin.netfoundry.io/invitation"
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 902
{
"nfToken" : "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3NjQ4ODgwMTAsImV4cCI6MTc2NDg4ODkxMCwiaXNzIjoiaHR0cDovL2xvY2FsaG9zdDo4MDgwL2lkZW50aXR5L3YxIiwiYXVkIjoiaHR0cHM6Ly9uZXRmb3VuZHJ5LXNhbmRib3guYXV0aDAuY29tLyIsImZsb3ciOiJsb2dpbiIsInRlbmFudExhYmVsIjoiQUNNRS0yIiwiYXV0aDBDb25uZWN0aW9uSWRzIjpbImF1dGgwLW9wYXF1ZS1jb25uZWN0aW9uSWQtNCIsImF1dGgwLW9wYXF1ZS1jb25uZWN0aW9uSWQtMyJdLCJyZWRpcmVjdFVybCI6Imh0dHA6Ly9jb25zb2xlLm5mYWRtaW4ubmV0Zm91bmRyeS5pby9pbnZpdGF0aW9uIn0.JwcBhxFO68GIVrSYGLdEI8bDYO2QA_tlG_A8fxh0NjZ8j2m0hsxe3fSju0czvYI8jzzmcolcQPpJjsgu0FLmunPyastL693ix06G6e2l8CeMlUx71BfsdqBkCuTlJsvZcd8_8Bwb33wH7Ey6jnftfIpPU9yPJOwQBHeW6fZNyrX0w8xdJXOHPHFNZiY3oHTTM6oHPAud7GWt3Y_0jc5MNPxAV1hRfXWPovjHk7tdTZdm3meEKj0IxSWPYUzojSYS2nCnQ_ZHQwjPQ11xg6q0PK9aLZo0osGhqkIzsLepcV1ER2KqvYcnK2AxSyEI5ZpMa5K7OcfaOz4VGgqqdTE2ZA",
"auth0ConnectionIds" : [ "auth0-opaque-connectionId-4", "auth0-opaque-connectionId-3" ]
}
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: 1298
[ {
"id" : "0c17cd64-05e5-4a30-aaaa-e04d95de52de",
"userIdentityId" : "e35f6a16-32a5-4171-b090-558cd3028fd6",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "e35f6a16-32a5-4171-b090-558cd3028fd6",
"createdAt" : {
"nano" : 636372000,
"epochSecond" : 1764888006
},
"updatedAt" : {
"nano" : 636372000,
"epochSecond" : 1764888006
},
"deletedBy" : null,
"deletedAt" : null
}, {
"id" : "287a96b4-35d3-4f53-bd62-ff1dfae7556f",
"userIdentityId" : "40489e78-f6cf-4588-a700-d3c7518b97d4",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "40489e78-f6cf-4588-a700-d3c7518b97d4",
"createdAt" : {
"nano" : 537655000,
"epochSecond" : 1764888006
},
"updatedAt" : {
"nano" : 537655000,
"epochSecond" : 1764888006
},
"deletedBy" : null,
"deletedAt" : null
}, {
"id" : "59f26a6e-d79e-4469-bd28-f31412d8ed9e",
"userIdentityId" : "63ad6cd1-cb48-4bc4-a09b-9c5a8bb6645b",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "63ad6cd1-cb48-4bc4-a09b-9c5a8bb6645b",
"createdAt" : {
"nano" : 704349000,
"epochSecond" : 1764888006
},
"updatedAt" : {
"nano" : 704349000,
"epochSecond" : 1764888006
},
"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/62d60ac1-c151-442f-8799-cc9728bc39db' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 415
{
"id" : "62d60ac1-c151-442f-8799-cc9728bc39db",
"userIdentityId" : "efb7524f-9e92-4748-8c80-c763df19225a",
"preferences" : {
"hello" : "world"
},
"createdBy" : "efb7524f-9e92-4748-8c80-c763df19225a",
"createdAt" : {
"nano" : 180870000,
"epochSecond" : 1764888008
},
"updatedAt" : {
"nano" : 180870000,
"epochSecond" : 1764888008
},
"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" : "93fd0d7b-bef0-4120-9131-70e7a8edf488",
"userIdentityId" : "5b54d10c-6b9b-4f8d-9efd-f67bb5da5ae4",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "5b54d10c-6b9b-4f8d-9efd-f67bb5da5ae4",
"createdAt" : {
"nano" : 281452000,
"epochSecond" : 1764888007
},
"updatedAt" : {
"nano" : 281452000,
"epochSecond" : 1764888007
},
"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:
-
createaction on thisidentity-preferenceresource. -
updateaction on thisidentity-preferenceresource.
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/29e150a7-0cbc-4cad-8c19-563d40aa6c25' -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" : "29e150a7-0cbc-4cad-8c19-563d40aa6c25",
"userIdentityId" : "604c4563-ef08-4a6d-b417-c6bdf2544aa1",
"preferences" : {
"updated" : "my second preference."
},
"createdBy" : "604c4563-ef08-4a6d-b417-c6bdf2544aa1",
"createdAt" : {
"nano" : 960396000,
"epochSecond" : 1764888008
},
"updatedAt" : {
"nano" : 973308000,
"epochSecond" : 1764888008
},
"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/bd9afc28-bd45-4fc5-9edb-d6ad04800056' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 505
{
"id" : "bd9afc28-bd45-4fc5-9edb-d6ad04800056",
"userIdentityId" : "a318150c-fede-4a2c-afcf-382a3514b436",
"preferences" : {
"hello" : "world"
},
"createdBy" : "a318150c-fede-4a2c-afcf-382a3514b436",
"createdAt" : {
"nano" : 703563000,
"epochSecond" : 1764888007
},
"updatedAt" : {
"nano" : 726698000,
"epochSecond" : 1764888007
},
"deletedBy" : "222336ae-6b55-4f09-afed-ed09398ce46d",
"deletedAt" : {
"nano" : 726000000,
"epochSecond" : 1764888007
}
}
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: 1266
[ {
"id" : "2c366e35-8ca6-4cf8-bf4b-c4246fe11e98",
"organizationId" : "f48fb814-0ed1-4260-a714-1dd754133293",
"preferences" : {
"hello" : "world"
},
"createdBy" : "bddaf46c-ab91-4780-8653-6388036cd6fc",
"createdAt" : {
"nano" : 946395000,
"epochSecond" : 1764888015
},
"updatedAt" : {
"nano" : 946395000,
"epochSecond" : 1764888015
},
"deletedBy" : null,
"deletedAt" : null
}, {
"id" : "a693bfde-65f0-4440-a907-300896188997",
"organizationId" : "5be862b9-13ea-4128-a5de-f36c5d032991",
"preferences" : {
"hello" : "world"
},
"createdBy" : "34d08337-1e66-43cd-b9e8-8b84d7d3c4b1",
"createdAt" : {
"nano" : 181556000,
"epochSecond" : 1764888016
},
"updatedAt" : {
"nano" : 181556000,
"epochSecond" : 1764888016
},
"deletedBy" : null,
"deletedAt" : null
}, {
"id" : "f0b138e1-9519-405d-9784-e16f42a7ff96",
"organizationId" : "0c09ad91-ea69-47c1-9fa9-d823048b6919",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "b78c821f-955f-4c55-bd91-143c802a3f85",
"createdAt" : {
"nano" : 73347000,
"epochSecond" : 1764888016
},
"updatedAt" : {
"nano" : 73347000,
"epochSecond" : 1764888016
},
"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/a693bfde-65f0-4440-a907-300896188997' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 415
{
"id" : "a693bfde-65f0-4440-a907-300896188997",
"organizationId" : "5be862b9-13ea-4128-a5de-f36c5d032991",
"preferences" : {
"hello" : "world"
},
"createdBy" : "34d08337-1e66-43cd-b9e8-8b84d7d3c4b1",
"createdAt" : {
"nano" : 181556000,
"epochSecond" : 1764888016
},
"updatedAt" : {
"nano" : 181556000,
"epochSecond" : 1764888016
},
"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" : "0c09ad91-ea69-47c1-9fa9-d823048b6919",
"preferences" : {
"first" : "my first preference."
}
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 428
{
"id" : "f0b138e1-9519-405d-9784-e16f42a7ff96",
"organizationId" : "0c09ad91-ea69-47c1-9fa9-d823048b6919",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "b78c821f-955f-4c55-bd91-143c802a3f85",
"createdAt" : {
"nano" : 73347000,
"epochSecond" : 1764888016
},
"updatedAt" : {
"nano" : 73347000,
"epochSecond" : 1764888016
},
"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/4871a553-e2e2-45a1-980b-3b6e987d89ee' -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" : "4871a553-e2e2-45a1-980b-3b6e987d89ee",
"organizationId" : "5d737700-a3ce-4f43-91e9-b6daf864c2dc",
"preferences" : {
"updated" : "my second preference."
},
"createdBy" : "814abe29-5f86-471f-a6bd-7f2ba82e1414",
"createdAt" : {
"nano" : 361508000,
"epochSecond" : 1764888016
},
"updatedAt" : {
"nano" : 382930000,
"epochSecond" : 1764888016
},
"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/6caf41f2-e106-4a46-b5d9-3caac0acf3f9' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 505
{
"id" : "6caf41f2-e106-4a46-b5d9-3caac0acf3f9",
"organizationId" : "6d033776-2fba-4449-b6fa-8e4c96e5fc76",
"preferences" : {
"hello" : "world"
},
"createdBy" : "70d67ad6-645b-4778-8036-3ec4641da298",
"createdAt" : {
"nano" : 118482000,
"epochSecond" : 1764888016
},
"updatedAt" : {
"nano" : 132917000,
"epochSecond" : 1764888016
},
"deletedBy" : "ae6e01f3-4ab2-464d-8600-4367fae7162d",
"deletedAt" : {
"nano" : 132000000,
"epochSecond" : 1764888016
}
}