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: 2165
[ {
"id" : "2023925b-08b4-4663-84ba-f7833f404da4",
"realmId" : "fdcbafad-0624-4fba-ae6e-8e3d39af3141",
"name" : "World Wide Imports",
"label" : "WW-Imports-93",
"identityProviders" : [ {
"id" : "c6b6910e-d9dc-456e-b4a1-7062386d36d0",
"organizationId" : "2023925b-08b4-4663-84ba-f7833f404da4",
"auth0ConnectionId" : "auth0-opaque-connectionId-94",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 179048000,
"epochSecond" : 1762265067
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ {
"id" : "793aa831-dcd2-4dc5-b2fc-044371644778",
"organizationId" : "2023925b-08b4-4663-84ba-f7833f404da4",
"name" : "Standard Role - 2ec3709b-cc64-424e-94df-b13e49b91743",
"roleType" : "Standard",
"roleId" : "2ec3709b-cc64-424e-94df-b13e49b91743",
"createdBy" : "4ded03c9-7989-4c26-8fa3-4f2ce5d86abb",
"createdAt" : {
"nano" : 197807000,
"epochSecond" : 1762265067
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
} ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 177395000,
"epochSecond" : 1762265067
},
"updatedAt" : null,
"deletedBy" : null,
"deletedAt" : null,
"deleted" : false
}, {
"id" : "38e6912a-b049-4d01-ab8a-b378d9c62fa3",
"realmId" : "2b551792-324e-4200-ab38-3d17f27ac13d",
"name" : "Admin",
"label" : "admin",
"identityProviders" : [ ],
"defaultRoles" : [ ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 246231000,
"epochSecond" : 1762265018
},
"updatedAt" : null,
"deletedBy" : null,
"deletedAt" : null,
"deleted" : false
}, {
"id" : "4d75d980-4d32-44d3-ba8d-88fcd1ca8059",
"realmId" : "fdcbafad-0624-4fba-ae6e-8e3d39af3141",
"name" : "World Wide Imports",
"label" : "WW-Imports-219",
"identityProviders" : [ ],
"defaultRoles" : [ ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 202898000,
"epochSecond" : 1762265071
},
"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: 2220
{
"id" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"realmId" : "2b551792-324e-4200-ab38-3d17f27ac13d",
"name" : "ACME International, Inc.",
"label" : "ACME-2",
"identityProviders" : [ {
"id" : "0fb59dee-3019-4984-b186-7f0ce28369f1",
"organizationId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"auth0ConnectionId" : "auth0-opaque-connectionId-3",
"name" : "ACME Federated Active Directory",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 270715000,
"epochSecond" : 1762265018
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "c45fb057-4cfb-46f0-a70b-16355dfe3893",
"organizationId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"auth0ConnectionId" : "auth0-opaque-connectionId-4",
"name" : "Google-Account",
"auth0ConnectionType" : "Social",
"active" : true,
"createdAt" : {
"nano" : 279639000,
"epochSecond" : 1762265018
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ {
"id" : "4dec0038-66ba-49f1-94fe-0b31acfd2449",
"organizationId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"name" : "Standard Role - c7ad08ef-40fd-438a-aaa0-5775fd9dd2a6",
"roleType" : "Standard",
"roleId" : "c7ad08ef-40fd-438a-aaa0-5775fd9dd2a6",
"createdBy" : "5e7528be-bb3b-4fc4-afc7-efcfbe9f5310",
"createdAt" : {
"nano" : 391451000,
"epochSecond" : 1762265018
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "3ed446cb-70fa-4575-ba8c-5c04758f0159",
"organizationId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"name" : "Custom Role - 26365b57-6565-4dde-a0f5-189b93680f41",
"roleType" : "Custom",
"roleId" : "26365b57-6565-4dde-a0f5-189b93680f41",
"createdBy" : "a8ce4e41-c941-408e-8c14-3fe8242080f4",
"createdAt" : {
"nano" : 401776000,
"epochSecond" : 1762265018
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
} ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 267362000,
"epochSecond" : 1762265018
},
"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/8c743c9d-2ee0-4908-8242-66d213ef805a' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 2220
{
"id" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"realmId" : "2b551792-324e-4200-ab38-3d17f27ac13d",
"name" : "ACME International, Inc.",
"label" : "ACME-2",
"identityProviders" : [ {
"id" : "0fb59dee-3019-4984-b186-7f0ce28369f1",
"organizationId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"auth0ConnectionId" : "auth0-opaque-connectionId-3",
"name" : "ACME Federated Active Directory",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 270715000,
"epochSecond" : 1762265018
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "c45fb057-4cfb-46f0-a70b-16355dfe3893",
"organizationId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"auth0ConnectionId" : "auth0-opaque-connectionId-4",
"name" : "Google-Account",
"auth0ConnectionType" : "Social",
"active" : true,
"createdAt" : {
"nano" : 279639000,
"epochSecond" : 1762265018
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ {
"id" : "4dec0038-66ba-49f1-94fe-0b31acfd2449",
"organizationId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"name" : "Standard Role - c7ad08ef-40fd-438a-aaa0-5775fd9dd2a6",
"roleType" : "Standard",
"roleId" : "c7ad08ef-40fd-438a-aaa0-5775fd9dd2a6",
"createdBy" : "5e7528be-bb3b-4fc4-afc7-efcfbe9f5310",
"createdAt" : {
"nano" : 391451000,
"epochSecond" : 1762265018
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "3ed446cb-70fa-4575-ba8c-5c04758f0159",
"organizationId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"name" : "Custom Role - 26365b57-6565-4dde-a0f5-189b93680f41",
"roleType" : "Custom",
"roleId" : "26365b57-6565-4dde-a0f5-189b93680f41",
"createdBy" : "a8ce4e41-c941-408e-8c14-3fe8242080f4",
"createdAt" : {
"nano" : 401776000,
"epochSecond" : 1762265018
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
} ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 267362000,
"epochSecond" : 1762265018
},
"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" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"realmId" : "2b551792-324e-4200-ab38-3d17f27ac13d",
"name" : "ACME International, Inc.",
"label" : "ACME-2",
"active" : true,
"identityProviders" : [ {
"id" : "0fb59dee-3019-4984-b186-7f0ce28369f1",
"organizationId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"auth0ConnectionId" : "auth0-opaque-connectionId-3",
"name" : "ACME Federated Active Directory",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 270715000,
"epochSecond" : 1762265018
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "c45fb057-4cfb-46f0-a70b-16355dfe3893",
"organizationId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"auth0ConnectionId" : "auth0-opaque-connectionId-4",
"name" : "Google-Account",
"auth0ConnectionType" : "Social",
"active" : true,
"createdAt" : {
"nano" : 279639000,
"epochSecond" : 1762265018
},
"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" : "ff9537a5-bf31-4f13-bfe8-8d16f935d654",
"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" : "2db63a04-de15-47e5-bbe5-31343dc89c53",
"realmId" : "ff9537a5-bf31-4f13-bfe8-8d16f935d654",
"name" : "Best Corp.",
"label" : "BEST-CORP",
"identityProviders" : [ {
"id" : "ec2f2917-83b8-4e16-ba68-8b4e44942c7b",
"organizationId" : "2db63a04-de15-47e5-bbe5-31343dc89c53",
"auth0ConnectionId" : "auth0-opaque-connection",
"name" : "Best Corp.",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 987811000,
"epochSecond" : 1762265075
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 986569000,
"epochSecond" : 1762265075
},
"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/8836f568-4228-4d6b-8058-e784d216181f/deactivate' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 893
{
"id" : "8836f568-4228-4d6b-8058-e784d216181f",
"realmId" : "fdcbafad-0624-4fba-ae6e-8e3d39af3141",
"name" : "World Wide Imports",
"label" : "WW-Imports-279",
"identityProviders" : [ {
"id" : "283ae939-7adf-4398-a93d-ec81bea73f0a",
"organizationId" : "8836f568-4228-4d6b-8058-e784d216181f",
"auth0ConnectionId" : "auth0-opaque-connectionId-280",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 299005000,
"epochSecond" : 1762265077
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ ],
"active" : false,
"mfaProvider" : null,
"createdAt" : {
"nano" : 296318000,
"epochSecond" : 1762265077
},
"updatedAt" : {
"nano" : 324607000,
"epochSecond" : 1762265077
},
"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/519a94de-ba96-4f14-85fc-cbf34a648e21/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: 1229
{
"id" : "519a94de-ba96-4f14-85fc-cbf34a648e21",
"realmId" : "fdcbafad-0624-4fba-ae6e-8e3d39af3141",
"name" : "World Wide Imports",
"label" : "WW-Imports-275",
"identityProviders" : [ {
"id" : "68e67f5f-e0ba-494a-ad70-74c72d1460c4",
"organizationId" : "519a94de-ba96-4f14-85fc-cbf34a648e21",
"auth0ConnectionId" : "auth0-opaque-connection",
"name" : "Corp SAML",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 95622000,
"epochSecond" : 1762265077
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "64ca2e1d-4fc8-4f5c-b906-3c5a7f9101cd",
"organizationId" : "519a94de-ba96-4f14-85fc-cbf34a648e21",
"auth0ConnectionId" : "auth0-opaque-connectionId-276",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 62301000,
"epochSecond" : 1762265077
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 60686000,
"epochSecond" : 1762265077
},
"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: 1265
[ {
"id" : "27bb9acd-af64-4cde-97c2-8a52254743fa",
"issuer" : "https://05d2ddfb-32e0-471e-9240-91c841201b24.issuer.idp",
"jwksUri" : "https://05d2ddfb-32e0-471e-9240-91c841201b24.issuer.idp/jwks",
"active" : true,
"createdBy" : "28e0406e-2bfc-4238-af52-5bace4c256bb",
"createdAt" : {
"nano" : 887402000,
"epochSecond" : 1762265073
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "2e4b3acd-b6e5-42d2-ac94-dbe395ff9a4e",
"issuer" : "https://98a4c918-d218-4c30-97f4-b41de04cd513.issuer.idp",
"jwksUri" : "https://98a4c918-d218-4c30-97f4-b41de04cd513.issuer.idp/jwks",
"active" : true,
"createdBy" : "f795f0aa-da01-4fe8-9970-65a74691e05c",
"createdAt" : {
"nano" : 537725000,
"epochSecond" : 1762265074
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "58bcc3be-3a10-4c8f-b2df-9b3ac5c226c5",
"issuer" : "https://cb12aa35-9c17-4255-bcb7-9a065a452702.issuer.idp",
"jwksUri" : "https://cb12aa35-9c17-4255-bcb7-9a065a452702.issuer.idp/jwks",
"active" : true,
"createdBy" : "3cb39756-3e72-42b6-b09f-6a5545ca949b",
"createdAt" : {
"nano" : 483884000,
"epochSecond" : 1762265074
},
"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/0e8287ce-7b83-4bbf-9b15-e77b7feb1ce6' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 419
{
"id" : "0e8287ce-7b83-4bbf-9b15-e77b7feb1ce6",
"issuer" : "https://ae25a593-1065-46e8-bb3b-5792fe831764.issuer.idp",
"jwksUri" : "https://ae25a593-1065-46e8-bb3b-5792fe831764.issuer.idp/jwks",
"active" : true,
"createdBy" : "2f6a967c-03cb-4d88-bfeb-49665ffeeef3",
"createdAt" : {
"nano" : 985302000,
"epochSecond" : 1762265074
},
"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://23fcd81c-6689-41e4-9d48-4f2e48c8091d.issuer.idp",
"jwksUri" : "https://23fcd81c-6689-41e4-9d48-4f2e48c8091d.issuer.idp/jwks",
"active" : true
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 419
{
"id" : "a4b02587-4dd4-4172-9e94-199ae82f023f",
"issuer" : "https://23fcd81c-6689-41e4-9d48-4f2e48c8091d.issuer.idp",
"jwksUri" : "https://23fcd81c-6689-41e4-9d48-4f2e48c8091d.issuer.idp/jwks",
"active" : true,
"createdBy" : "1881613b-ce53-40c3-9e41-a6213b9ea725",
"createdAt" : {
"nano" : 933034000,
"epochSecond" : 1762265074
},
"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/23ad3125-e41b-4a94-aa3a-a1c7c5a60f24' -i -X PATCH \
-H 'Content-Type: application/json' \
-d '{
"issuer" : "https://73556f51-62f6-49d9-ae2f-eb6bce2324d2.issuer.idp",
"jwksUri" : "https://73556f51-62f6-49d9-ae2f-eb6bce2324d2.issuer.idp/jwks",
"active" : false
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 420
{
"id" : "23ad3125-e41b-4a94-aa3a-a1c7c5a60f24",
"issuer" : "https://73556f51-62f6-49d9-ae2f-eb6bce2324d2.issuer.idp",
"jwksUri" : "https://73556f51-62f6-49d9-ae2f-eb6bce2324d2.issuer.idp/jwks",
"active" : false,
"createdBy" : "7a4c026a-740d-424b-a2b6-c36db2ce0f72",
"createdAt" : {
"nano" : 864256000,
"epochSecond" : 1762265074
},
"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/6af3eb55-c12f-4939-a7df-fb80e2e40be7' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 506
{
"id" : "6af3eb55-c12f-4939-a7df-fb80e2e40be7",
"issuer" : "https://40658e16-512d-4caa-9ac1-d035d359599f.issuer.idp",
"jwksUri" : "https://40658e16-512d-4caa-9ac1-d035d359599f.issuer.idp/jwks",
"active" : true,
"createdBy" : "2b255a31-7395-43f7-8d88-4fdb6cdcc0b6",
"createdAt" : {
"nano" : 36052000,
"epochSecond" : 1762265075
},
"deletedAt" : {
"nano" : 45568000,
"epochSecond" : 1762265075
},
"deletedBy" : "fb53399b-e942-4417-aae1-fc3303a01a20",
"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" : "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" : 304756000,
"epochSecond" : 1762265014
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "89f98f7c-f445-4486-8b13-4a7ba1727eb1",
"oidcIssuerId" : "0e2dd713-31c0-476f-b5e6-7e869ef11b67",
"clientId" : "clientId-3ba1d647-7dd6-4ec7-935c-468db5783d66",
"clientSecret" : "clientSecret-dc9c4ffb-e796-4a02-83d7-cccd704e62e8",
"authorizationEndpoint" : "https://b938bbc9-77c2-4c20-9fbd-69787bddd16b.issuer.idp/authorize",
"tokenEndpoint" : "https://b938bbc9-77c2-4c20-9fbd-69787bddd16b.issuer.idp/token",
"userInfoEndpoint" : "https://b938bbc9-77c2-4c20-9fbd-69787bddd16b.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "94ac227d-a5d5-4419-af95-8fdb6857107c",
"createdAt" : {
"nano" : 143139000,
"epochSecond" : 1762265075
},
"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" : 304756000,
"epochSecond" : 1762265014
},
"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/a54b9307-1c37-41b5-9d94-7b4f144ca1ce' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 776
{
"id" : "a54b9307-1c37-41b5-9d94-7b4f144ca1ce",
"oidcIssuerId" : "e07a3c9d-4b61-4a6e-a46e-02499cfe4488",
"clientId" : "clientId-111c49b2-a239-48ee-a824-716b96da41d8",
"clientSecret" : "clientSecret-d09b5564-3295-4b27-91e8-1e2190c79835",
"authorizationEndpoint" : "https://0b117609-84fb-42f0-846a-11c23546c815.issuer.idp/authorize",
"tokenEndpoint" : "https://0b117609-84fb-42f0-846a-11c23546c815.issuer.idp/token",
"userInfoEndpoint" : "https://0b117609-84fb-42f0-846a-11c23546c815.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "a85b88ff-c278-4ca1-ba61-a73f142a5d93",
"createdAt" : {
"nano" : 597116000,
"epochSecond" : 1762265075
},
"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" : "be2b13ee-87d4-4bbc-9f71-432f19f1ee7e",
"clientId" : "clientId-52ba9bd2-0072-4b23-b8c4-c770e4c5ae95",
"clientSecret" : "clientSecret-078d6d6f-da7b-44e3-9058-f23090124560",
"authorizationEndpoint" : "https://8344b26e-513c-47b3-a55a-c64373b77d18.issuer.idp/authorize",
"tokenEndpoint" : "https://8344b26e-513c-47b3-a55a-c64373b77d18.issuer.idp/token",
"userInfoEndpoint" : "https://8344b26e-513c-47b3-a55a-c64373b77d18.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 776
{
"id" : "ee8deea5-858e-4969-8c85-2bc5fd94663a",
"oidcIssuerId" : "be2b13ee-87d4-4bbc-9f71-432f19f1ee7e",
"clientId" : "clientId-52ba9bd2-0072-4b23-b8c4-c770e4c5ae95",
"clientSecret" : "clientSecret-078d6d6f-da7b-44e3-9058-f23090124560",
"authorizationEndpoint" : "https://8344b26e-513c-47b3-a55a-c64373b77d18.issuer.idp/authorize",
"tokenEndpoint" : "https://8344b26e-513c-47b3-a55a-c64373b77d18.issuer.idp/token",
"userInfoEndpoint" : "https://8344b26e-513c-47b3-a55a-c64373b77d18.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "9ff06fcc-ffed-4b08-9a8a-4ec9279c3d7d",
"createdAt" : {
"nano" : 547401000,
"epochSecond" : 1762265075
},
"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/17fed9ee-5bef-4298-b46a-74bc59d4e46d' -i -X PATCH \
-H 'Content-Type: application/json' \
-d '{
"clientId" : "clientId-d1d21917-68c9-4561-bc40-c04a8ee2308d",
"clientSecret" : "clientSecret-9b2726ea-85a2-472e-a4c7-25ce25af00a5",
"authorizationEndpoint" : "https://d3a4d727-5018-4e2c-ba60-2f743a3f8f01.issuer.idp/authorize",
"tokenEndpoint" : "https://d3a4d727-5018-4e2c-ba60-2f743a3f8f01.issuer.idp/token",
"userInfoEndpoint" : "https://d3a4d727-5018-4e2c-ba60-2f743a3f8f01.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : false
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 777
{
"id" : "17fed9ee-5bef-4298-b46a-74bc59d4e46d",
"oidcIssuerId" : "27aeaf4b-3180-415a-a79e-f939dff030e9",
"clientId" : "clientId-d1d21917-68c9-4561-bc40-c04a8ee2308d",
"clientSecret" : "clientSecret-9b2726ea-85a2-472e-a4c7-25ce25af00a5",
"authorizationEndpoint" : "https://d3a4d727-5018-4e2c-ba60-2f743a3f8f01.issuer.idp/authorize",
"tokenEndpoint" : "https://d3a4d727-5018-4e2c-ba60-2f743a3f8f01.issuer.idp/token",
"userInfoEndpoint" : "https://d3a4d727-5018-4e2c-ba60-2f743a3f8f01.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : false,
"createdBy" : "79b9294a-2722-4cd8-b9a8-3c9c7c58ffa3",
"createdAt" : {
"nano" : 457924000,
"epochSecond" : 1762265075
},
"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/f676ff90-e94c-477e-90ad-25f69fb058df' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 865
{
"id" : "f676ff90-e94c-477e-90ad-25f69fb058df",
"oidcIssuerId" : "2b41856e-80dc-4427-bd87-90fa85d80374",
"clientId" : "clientId-796c783b-016d-4f22-ba1a-f8dac1099a99",
"clientSecret" : "clientSecret-1a934b41-dbdd-48a4-84c7-66559a6d0445",
"authorizationEndpoint" : "https://07c91313-a94f-4821-a969-011fa06dcef7.issuer.idp/authorize",
"tokenEndpoint" : "https://07c91313-a94f-4821-a969-011fa06dcef7.issuer.idp/token",
"userInfoEndpoint" : "https://07c91313-a94f-4821-a969-011fa06dcef7.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "ef6367c7-7635-4250-9cc3-14955390a431",
"createdAt" : {
"nano" : 681553000,
"epochSecond" : 1762265075
},
"deletedAt" : {
"nano" : 693228000,
"epochSecond" : 1762265075
},
"deletedBy" : "b9be5dd4-0db9-4bb4-953e-52e9046da1b6",
"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: 1583
[ {
"id" : "45fe457a-3a38-4e64-9875-c0e83987d5df",
"organizationId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"oidcPublicClientId" : "f4e6fcd0-1839-4566-8828-856e42b8f156",
"name" : "Google-Account",
"active" : true,
"customQueryParameters" : "{}",
"createdBy" : "ee7e4bd4-ac18-40a4-a1ad-55e21aff9a51",
"createdAt" : {
"nano" : 385450000,
"epochSecond" : 1762265018
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "77c9037f-f811-4d97-b7c3-e494f8915eb2",
"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" : 751781000,
"epochSecond" : 1762265013
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "784c6082-653e-44b4-8956-c532bfcc2974",
"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" : 781142000,
"epochSecond" : 1762265013
},
"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/a3be8cfc-2c54-4d71-9acc-c0a581953ff0' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 495
{
"id" : "a3be8cfc-2c54-4d71-9acc-c0a581953ff0",
"organizationId" : "1c14873e-26f0-460b-a25c-2c811999ec00",
"oidcPublicClientId" : "a6f82045-30ec-4353-90d0-53d5063d6243",
"name" : "console-client-b19672c8-1d52-4d62-9674-fed510654ccf",
"active" : true,
"customQueryParameters" : "{}",
"createdBy" : "36263a5b-ebe1-4d44-8706-25ff4b161ce4",
"createdAt" : {
"nano" : 160298000,
"epochSecond" : 1762265078
},
"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" : "80da56a7-a636-4d70-98bd-99e99ccdffd6",
"oidcPublicClientId" : "f3b1436a-53ec-4bb1-bf4c-bcb483a5bd21",
"name" : "console-client-b8c48e85-1a8d-4208-8144-a3efbb431347",
"active" : true,
"customQueryParameters" : "{}"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 494
{
"id" : "0ddc2e75-9356-419b-8f16-c39bb0202454",
"organizationId" : "80da56a7-a636-4d70-98bd-99e99ccdffd6",
"oidcPublicClientId" : "f3b1436a-53ec-4bb1-bf4c-bcb483a5bd21",
"name" : "console-client-b8c48e85-1a8d-4208-8144-a3efbb431347",
"active" : true,
"customQueryParameters" : "{}",
"createdBy" : "c3f89a19-a6e8-4f29-80a3-306c9c6b5835",
"createdAt" : {
"nano" : 85150000,
"epochSecond" : 1762265078
},
"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/5a42c8be-7789-4ee1-9203-b7476fbcbebf' -i -X PATCH \
-H 'Content-Type: application/json' \
-d '{
"name" : "custom-client-25f43a38-a53a-4d41-96bc-8d5a30b0768e",
"active" : true,
"customQueryParameters" : "{}"
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 494
{
"id" : "5a42c8be-7789-4ee1-9203-b7476fbcbebf",
"organizationId" : "69da2e7b-a41c-4f59-aca9-320a201301c7",
"oidcPublicClientId" : "47440d53-c34f-4b96-8a0e-9de71073cf3d",
"name" : "custom-client-25f43a38-a53a-4d41-96bc-8d5a30b0768e",
"active" : true,
"customQueryParameters" : "{}",
"createdBy" : "302cdf8f-7c64-4d38-a453-db65c758c46d",
"createdAt" : {
"nano" : 977308000,
"epochSecond" : 1762265077
},
"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/78e79dea-4a28-481d-b983-708279ed7425' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 543
{
"id" : "78e79dea-4a28-481d-b983-708279ed7425",
"organizationId" : "8c9ad8c3-d083-4f3a-bb08-ea49eed03f9f",
"oidcPublicClientId" : "b2dd0378-b97f-43e5-8261-7dc6a8aec06f",
"name" : "number two",
"active" : true,
"customQueryParameters" : "{}",
"createdBy" : "8b628d08-a0ad-432d-a5fa-c7cc414f27c8",
"createdAt" : {
"nano" : 238864000,
"epochSecond" : 1762265078
},
"deletedAt" : {
"nano" : 253664000,
"epochSecond" : 1762265078
},
"deletedBy" : "fb571f28-40f8-4f7d-bdd4-97f8a8797aec",
"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" : 312503000,
"epochSecond" : 1762265014
},
"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" : 312503000,
"epochSecond" : 1762265014
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "fbea88e5-c835-4725-8ac4-6571267e28a5",
"oidcIssuerId" : "27bb9acd-af64-4cde-97c2-8a52254743fa",
"audience" : "mop-aud-b7fdba82-35cd-4170-8834-c628f4bce9ed",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "1b69ef71-219b-4454-b129-36313e05f893",
"createdAt" : {
"nano" : 903615000,
"epochSecond" : 1762265073
},
"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/23b4a2a2-b9b0-468a-856a-ae43eac77666' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 430
{
"id" : "23b4a2a2-b9b0-468a-856a-ae43eac77666",
"oidcIssuerId" : "58bcc3be-3a10-4c8f-b2df-9b3ac5c226c5",
"audience" : "mop-aud-2a28b6df-3843-4b76-bd33-8ee9b9a8440c",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "1235e714-7b81-4dc3-b227-a150d8d1124e",
"createdAt" : {
"nano" : 486517000,
"epochSecond" : 1762265074
},
"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" : "aab0359a-53f8-45c5-8038-28800b62abe4",
"audience" : "mop-aud-6ef85428-485d-4d3c-a22c-67761ffc110e",
"restrictedToOrganizationIds" : [ ],
"active" : true
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 430
{
"id" : "894f8b8e-d7f1-45c3-b1c3-2c417ef7bf8d",
"oidcIssuerId" : "aab0359a-53f8-45c5-8038-28800b62abe4",
"audience" : "mop-aud-6ef85428-485d-4d3c-a22c-67761ffc110e",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "8d26e8ff-9b8c-4ee0-8f43-120fd8cc38b0",
"createdAt" : {
"nano" : 434168000,
"epochSecond" : 1762265074
},
"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/298458a1-e279-4176-a676-5dcd2bfcea2a' -i -X PATCH \
-H 'Content-Type: application/json' \
-d '{
"audience" : "mop-aud-f2e1668a-f3b8-451c-a3ff-4b6f1ee88f42",
"restrictedToOrganizationIds" : [ ],
"active" : false
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 431
{
"id" : "298458a1-e279-4176-a676-5dcd2bfcea2a",
"oidcIssuerId" : "8768cfbc-3212-4286-97f8-e3dfb197c51c",
"audience" : "mop-aud-f2e1668a-f3b8-451c-a3ff-4b6f1ee88f42",
"restrictedToOrganizationIds" : [ ],
"active" : false,
"createdBy" : "7f294f0f-98c7-40c8-9185-3253a4588ddb",
"createdAt" : {
"nano" : 318918000,
"epochSecond" : 1762265074
},
"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/4bafe89f-f967-4bb3-bc9f-3da8f694d098' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 519
{
"id" : "4bafe89f-f967-4bb3-bc9f-3da8f694d098",
"oidcIssuerId" : "2e4b3acd-b6e5-42d2-ac94-dbe395ff9a4e",
"audience" : "mop-aud-429523d6-10c7-426b-a083-24c5711e6353",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "421ca8ab-68fc-48d2-be55-eed79bc4bb72",
"createdAt" : {
"nano" : 540338000,
"epochSecond" : 1762265074
},
"deletedAt" : {
"nano" : 551740000,
"epochSecond" : 1762265074
},
"deletedBy" : "81672669-13e1-466d-ad03-6d93395875dd",
"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/c3087c50-e21f-4db3-9870-46e983e7fbb7' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 460
{
"id" : "c3087c50-e21f-4db3-9870-46e983e7fbb7",
"userIdentityId" : "34421815-007e-4703-9a97-b8d5905d6a6f",
"oidcAudienceId" : "d316bf9e-a878-4c76-9391-e05850fa89a7",
"subject" : "console-client-ad26b45b-f7e9-4ada-a0c8-5e8fe371b75b",
"active" : true,
"createdBy" : "3a2b2b57-d5d0-42b2-97fe-d576143b2ad3",
"createdAt" : {
"nano" : 300490000,
"epochSecond" : 1762265086
},
"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" : "fd15b39d-c121-47bb-b1ad-8fee04d96bca",
"oidcAudienceId" : "bacc0fd4-ecf5-4944-b5b7-751fd4a31bf8",
"subject" : "console-client-5aff00a7-f7c7-4d6e-b71d-8662e59a8686",
"active" : true
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 460
{
"id" : "9b734375-f515-4cdd-a023-72492b122a6a",
"userIdentityId" : "fd15b39d-c121-47bb-b1ad-8fee04d96bca",
"oidcAudienceId" : "bacc0fd4-ecf5-4944-b5b7-751fd4a31bf8",
"subject" : "console-client-5aff00a7-f7c7-4d6e-b71d-8662e59a8686",
"active" : true,
"createdBy" : "3e730ea2-8b7c-4ca0-9fa8-7acbe50e210a",
"createdAt" : {
"nano" : 176000000,
"epochSecond" : 1762265086
},
"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/91721d97-0683-45b0-9563-c5c8108e6c72' -i -X PATCH \
-H 'Content-Type: application/json' \
-d '{
"active" : false
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 460
{
"id" : "91721d97-0683-45b0-9563-c5c8108e6c72",
"userIdentityId" : "3da003dc-58bd-419e-a19c-5454b62bb74d",
"oidcAudienceId" : "c6b19557-4bf4-4b53-b534-9a7be5ef56a7",
"subject" : "console-client-9aa1579a-e34e-45d6-81c2-2db4225f86d7",
"active" : false,
"createdBy" : "a92f43f4-59ff-4e91-bf43-edfb9dd911e0",
"createdAt" : {
"nano" : 49021000,
"epochSecond" : 1762265086
},
"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/fbf84f85-4e2e-404c-97e6-2e0e5fe96940' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 549
{
"id" : "fbf84f85-4e2e-404c-97e6-2e0e5fe96940",
"userIdentityId" : "74960c3a-23ee-4e17-8edb-bf66f5a3cce3",
"oidcAudienceId" : "0e54b309-353e-4569-9c74-b40b5798e7b6",
"subject" : "console-client-2a8e21d1-e205-49cd-b54c-0c159a2f8a47",
"active" : true,
"createdBy" : "cc7af6ed-5e02-4d45-9f6c-1776e06431c7",
"createdAt" : {
"nano" : 370183000,
"epochSecond" : 1762265086
},
"deletedAt" : {
"nano" : 548846000,
"epochSecond" : 1762265086
},
"deletedBy" : "051f9141-fc0a-4235-a4cc-6638682f33f8",
"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: 1160
[ {
"id" : "0f6007d9-8f10-48ee-b5d7-7dbd8fda60ba",
"organizationId" : "61d74637-0689-47d7-83ca-a09b265c29e1",
"auth0ConnectionId" : "auth0-opaque-connectionId-87",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 69494000,
"epochSecond" : 1762265067
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "0fb59dee-3019-4984-b186-7f0ce28369f1",
"organizationId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"auth0ConnectionId" : "auth0-opaque-connectionId-3",
"name" : "ACME Federated Active Directory",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 270715000,
"epochSecond" : 1762265018
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "1dcf0957-a72a-47a8-9300-73c839513c7a",
"organizationId" : "6f38dad2-cd60-45c3-b243-a540a5ed8579",
"auth0ConnectionId" : "auth0-opaque-connectionId-119",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 524733000,
"epochSecond" : 1762265068
},
"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/0fb59dee-3019-4984-b186-7f0ce28369f1' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 394
{
"id" : "0fb59dee-3019-4984-b186-7f0ce28369f1",
"organizationId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"auth0ConnectionId" : "auth0-opaque-connectionId-3",
"name" : "ACME Federated Active Directory",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 270715000,
"epochSecond" : 1762265018
},
"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" : "9d649a67-dbc6-4cdc-81cd-69a73bf9a86d",
"auth0ConnectionId" : "auth0-opaque-connection",
"name" : "Corp SAML",
"auth0ConnectionType" : "Enterprise"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 368
{
"id" : "4e0a53db-4d8b-4980-af80-cf44903daf4a",
"organizationId" : "9d649a67-dbc6-4cdc-81cd-69a73bf9a86d",
"auth0ConnectionId" : "auth0-opaque-connection",
"name" : "Corp SAML",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 283868000,
"epochSecond" : 1762265071
},
"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/ae484e2e-caca-427a-b81e-661ed6777f9f' -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" : "ae484e2e-caca-427a-b81e-661ed6777f9f",
"organizationId" : "cd5f2cca-66fd-48f6-bb62-476a2fed464c",
"auth0ConnectionId" : "auth0-opaque-connectionId-230",
"name" : "New IdP Name",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 623218000,
"epochSecond" : 1762265071
},
"updatedAt" : {
"nano" : 641547000,
"epochSecond" : 1762265071
},
"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/0bb4ea56-7d2c-4498-8065-f9148838306f/activate' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 380
{
"id" : "0bb4ea56-7d2c-4498-8065-f9148838306f",
"organizationId" : "2f0cdecd-0362-4900-ab2a-5517c8ef0018",
"auth0ConnectionId" : "auth0-opaque-connectionId-224",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 390640000,
"epochSecond" : 1762265071
},
"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/395cd21a-aeba-4826-9aa8-643474855b25' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 492
{
"id" : "395cd21a-aeba-4826-9aa8-643474855b25",
"organizationId" : "81b00b27-ea17-4f03-af8a-4271d64ea92b",
"auth0ConnectionId" : "auth0-opaque-connectionId-228",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 561888000,
"epochSecond" : 1762265071
},
"updatedAt" : {
"nano" : 575901000,
"epochSecond" : 1762265071
},
"deletedAt" : {
"nano" : 575000000,
"epochSecond" : 1762265071
}
}
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: 1345
[ {
"id" : "0bff39dc-5e2c-44f9-9678-1f7c76aeb8a0",
"organizationId" : "be15dbda-7a1d-459e-9f43-e45fc4e64c97",
"name" : "Custom Role - 8fb51974-8278-4d1d-a307-b4eaf8312bc4",
"roleType" : "Custom",
"roleId" : "8fb51974-8278-4d1d-a307-b4eaf8312bc4",
"createdBy" : "fc993973-b172-4f95-9e99-758d1c2f81e5",
"createdAt" : {
"nano" : 291835000,
"epochSecond" : 1762265066
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "0f32d159-665f-4392-978b-87b51cc4919c",
"organizationId" : "f86122fb-316b-4427-8c38-248165bf4504",
"name" : "NF Support - Intervention",
"roleType" : "Custom",
"roleId" : "97315ed6-2fc7-4a40-b7ea-abe53cc6a188",
"createdBy" : "2b6f496d-36f1-4e66-a205-8abcf1d41d74",
"createdAt" : {
"nano" : 756514000,
"epochSecond" : 1762265013
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "3ed446cb-70fa-4575-ba8c-5c04758f0159",
"organizationId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"name" : "Custom Role - 26365b57-6565-4dde-a0f5-189b93680f41",
"roleType" : "Custom",
"roleId" : "26365b57-6565-4dde-a0f5-189b93680f41",
"createdBy" : "a8ce4e41-c941-408e-8c14-3fe8242080f4",
"createdAt" : {
"nano" : 401776000,
"epochSecond" : 1762265018
},
"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/4dec0038-66ba-49f1-94fe-0b31acfd2449' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 458
{
"id" : "4dec0038-66ba-49f1-94fe-0b31acfd2449",
"organizationId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"name" : "Standard Role - c7ad08ef-40fd-438a-aaa0-5775fd9dd2a6",
"roleType" : "Standard",
"roleId" : "c7ad08ef-40fd-438a-aaa0-5775fd9dd2a6",
"createdBy" : "5e7528be-bb3b-4fc4-afc7-efcfbe9f5310",
"createdAt" : {
"nano" : 391451000,
"epochSecond" : 1762265018
},
"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" : "bee2f419-67a9-4366-92eb-eb9b2cc43a66",
"roleType" : "Standard",
"roleId" : "26116068-0fb6-4343-a3ea-05ad630a5b82"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 458
{
"id" : "d79fd561-a39f-4df5-8b08-605242716500",
"organizationId" : "bee2f419-67a9-4366-92eb-eb9b2cc43a66",
"name" : "Standard Role - 26116068-0fb6-4343-a3ea-05ad630a5b82",
"roleType" : "Standard",
"roleId" : "26116068-0fb6-4343-a3ea-05ad630a5b82",
"createdBy" : "257ff0ce-72c2-4a32-ae06-06f73dd22dcc",
"createdAt" : {
"nano" : 972627000,
"epochSecond" : 1762265066
},
"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/1f487725-f8be-4173-aa2c-3c00c32b5c72' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 547
{
"id" : "1f487725-f8be-4173-aa2c-3c00c32b5c72",
"organizationId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"name" : "Standard Role - fae6504d-f81f-4638-a424-18ed2fbe6e1e",
"roleType" : "Standard",
"roleId" : "fae6504d-f81f-4638-a424-18ed2fbe6e1e",
"createdBy" : "39b0a67e-e1a1-480c-81c4-e1b4f9078125",
"createdAt" : {
"nano" : 677629000,
"epochSecond" : 1762265066
},
"deletedAt" : {
"nano" : 688000000,
"epochSecond" : 1762265066
},
"deletedBy" : "ded94588-5515-4b66-84c7-ae61d99b33bc",
"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/6fac746b-32e4-4711-8074-fa1fa8f5d32f/grant' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"includeIdentityIds" : [ "7f05b2f0-9d24-4e7f-a487-0f3803560d29", "fad191ef-0f6f-405a-abca-59efab4819c5", "064a320a-89be-465e-b831-9669bbcd2ee4" ],
"excludeIdentityIds" : [ "fad191ef-0f6f-405a-abca-59efab4819c5", "064a320a-89be-465e-b831-9669bbcd2ee4", "208392d6-61ad-4460-8f6c-fe7f3c3b86af" ]
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 51
{
"7f05b2f0-9d24-4e7f-a487-0f3803560d29" : true
}
User Identity
Get Identity
GET /identities/self
Authorization
This endpoint requires no specific permission, only an authenticated client.
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
active |
Boolean |
true |
|
deletedAt |
Object |
true |
|
String |
true |
||
tenantId |
String |
true |
Deprecated.. |
organizationId |
String |
true |
|
createdAt |
Object |
true |
|
name |
String |
true |
|
id |
String |
true |
|
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identities/self' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 718
{
"id" : "1124a2bc-c413-498c-bcd0-10737a9f1ab5",
"organizationId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"firstName" : "First",
"lastName" : "Last",
"email" : "random-360@acme.com",
"identityMappings" : [ {
"id" : "47ee9901-870f-47bb-ba9e-2ed660442702",
"auth0UserId" : "auth0-opaque-userId-361",
"identityProviderId" : "0fb59dee-3019-4984-b186-7f0ce28369f1",
"userIdentityId" : "1124a2bc-c413-498c-bcd0-10737a9f1ab5"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 765285000,
"epochSecond" : 1762265084
},
"deletedAt" : null,
"tenantId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"name" : "First Last",
"type" : "UserIdentity"
}
Get Identity
GET /identities/{id:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
active |
Boolean |
true |
|
deletedAt |
Object |
true |
|
String |
true |
||
tenantId |
String |
true |
Deprecated.. |
organizationId |
String |
true |
|
createdAt |
Object |
true |
|
name |
String |
true |
|
id |
String |
true |
|
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identities/ec387dd6-b179-415a-a2e6-1317fb27017a' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 710
{
"id" : "ec387dd6-b179-415a-a2e6-1317fb27017a",
"organizationId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"firstName" : "John",
"lastName" : "Doe",
"email" : "john.doe@acme.com",
"identityMappings" : [ {
"id" : "38421776-5721-4b77-8a82-40f23134a6ff",
"auth0UserId" : "auth0-opaque-userId-5",
"identityProviderId" : "0fb59dee-3019-4984-b186-7f0ce28369f1",
"userIdentityId" : "ec387dd6-b179-415a-a2e6-1317fb27017a"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 463017000,
"epochSecond" : 1762265018
},
"deletedAt" : null,
"tenantId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"name" : "John Doe",
"type" : "UserIdentity"
}
Find User Identities
GET /user-identities
Response fields
Standard paging response where content field is list of following objects:
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
firstName |
String |
true |
|
lastName |
String |
true |
|
String |
true |
||
identityMappings |
Array[Object] |
true |
|
identityMappings[].id |
String |
true |
|
identityMappings[].auth0UserId |
String |
true |
|
identityMappings[].identityProviderId |
String |
true |
|
identityMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings |
Array[Object] |
true |
|
identityAudienceMappings[].id |
String |
true |
|
identityAudienceMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings[].oidcAudienceId |
String |
true |
|
identityAudienceMappings[].subject |
String |
true |
|
identityAudienceMappings[].active |
Boolean |
true |
|
identityAudienceMappings[].createdBy |
String |
true |
|
identityAudienceMappings[].createdAt |
Object |
true |
|
identityAudienceMappings[].deletedAt |
Object |
true |
|
identityAudienceMappings[].deletedBy |
String |
true |
|
identityAudienceMappings[].deleted |
Boolean |
true |
|
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
tenantId |
String |
true |
Deprecated.. |
name |
String |
true |
|
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities' -i -X GET
Example response
HTTP/1.1 200 OK
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" : "015861c2-543d-42d7-9de6-41f9b26a2cc0",
"organizationId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"firstName" : "First",
"lastName" : "Last",
"email" : "random-112@acme.com",
"identityMappings" : [ {
"id" : "aaa9f517-117d-4df5-baa3-ae97c3421c4b",
"auth0UserId" : "auth0-opaque-userId-113",
"identityProviderId" : "0fb59dee-3019-4984-b186-7f0ce28369f1",
"userIdentityId" : "015861c2-543d-42d7-9de6-41f9b26a2cc0"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 390727000,
"epochSecond" : 1762265068
},
"deletedAt" : null,
"tenantId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"name" : "First Last",
"type" : "UserIdentity"
}, {
"id" : "13dbf563-265d-40c9-81c4-1131542b6e07",
"organizationId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"firstName" : "First",
"lastName" : "Last",
"email" : "random-114@acme.com",
"identityMappings" : [ {
"id" : "b990acb9-a9b1-4745-a9f5-7e25a43e8115",
"auth0UserId" : "auth0-opaque-userId-115",
"identityProviderId" : "0fb59dee-3019-4984-b186-7f0ce28369f1",
"userIdentityId" : "13dbf563-265d-40c9-81c4-1131542b6e07"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 452058000,
"epochSecond" : 1762265068
},
"deletedAt" : null,
"tenantId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"name" : "First Last",
"type" : "UserIdentity"
}, {
"id" : "19760064-6acb-4fbc-8ab0-393f2593d634",
"organizationId" : "d3abe34e-2db0-431a-8785-ccb323ebbc53",
"firstName" : "First",
"lastName" : "Last",
"email" : "random-82@acme.com",
"identityMappings" : [ {
"id" : "a83c27ad-bced-4cd3-9f16-b83830d8a145",
"auth0UserId" : "auth0-opaque-userId-83",
"identityProviderId" : "a5e71009-e851-413e-a451-11440f05e5ea",
"userIdentityId" : "19760064-6acb-4fbc-8ab0-393f2593d634"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 798942000,
"epochSecond" : 1762265066
},
"deletedAt" : null,
"tenantId" : "d3abe34e-2db0-431a-8785-ccb323ebbc53",
"name" : "First Last",
"type" : "UserIdentity"
} ]
Get User Identity
GET /user-identities/{id:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
firstName |
String |
true |
|
lastName |
String |
true |
|
String |
true |
||
identityMappings |
Array[Object] |
true |
|
identityMappings[].id |
String |
true |
|
identityMappings[].auth0UserId |
String |
true |
|
identityMappings[].identityProviderId |
String |
true |
|
identityMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings |
Array[Object] |
true |
|
identityAudienceMappings[].id |
String |
true |
|
identityAudienceMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings[].oidcAudienceId |
String |
true |
|
identityAudienceMappings[].subject |
String |
true |
|
identityAudienceMappings[].active |
Boolean |
true |
|
identityAudienceMappings[].createdBy |
String |
true |
|
identityAudienceMappings[].createdAt |
Object |
true |
|
identityAudienceMappings[].deletedAt |
Object |
true |
|
identityAudienceMappings[].deletedBy |
String |
true |
|
identityAudienceMappings[].deleted |
Boolean |
true |
|
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
tenantId |
String |
true |
Deprecated.. |
name |
String |
true |
|
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities/ec387dd6-b179-415a-a2e6-1317fb27017a' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 710
{
"id" : "ec387dd6-b179-415a-a2e6-1317fb27017a",
"organizationId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"firstName" : "John",
"lastName" : "Doe",
"email" : "john.doe@acme.com",
"identityMappings" : [ {
"id" : "38421776-5721-4b77-8a82-40f23134a6ff",
"auth0UserId" : "auth0-opaque-userId-5",
"identityProviderId" : "0fb59dee-3019-4984-b186-7f0ce28369f1",
"userIdentityId" : "ec387dd6-b179-415a-a2e6-1317fb27017a"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 463017000,
"epochSecond" : 1762265018
},
"deletedAt" : null,
"tenantId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"name" : "John Doe",
"type" : "UserIdentity"
}
Get User Identity By Mapping
GET /user-identities/mapping/{auth0UserId}/{identityProviderId}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
auth0UserId |
String |
false |
|
identityProviderId |
Object |
false |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
firstName |
String |
true |
|
lastName |
String |
true |
|
String |
true |
||
identityMappings |
Array[Object] |
true |
|
identityMappings[].id |
String |
true |
|
identityMappings[].auth0UserId |
String |
true |
|
identityMappings[].identityProviderId |
String |
true |
|
identityMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings |
Array[Object] |
true |
|
identityAudienceMappings[].id |
String |
true |
|
identityAudienceMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings[].oidcAudienceId |
String |
true |
|
identityAudienceMappings[].subject |
String |
true |
|
identityAudienceMappings[].active |
Boolean |
true |
|
identityAudienceMappings[].createdBy |
String |
true |
|
identityAudienceMappings[].createdAt |
Object |
true |
|
identityAudienceMappings[].deletedAt |
Object |
true |
|
identityAudienceMappings[].deletedBy |
String |
true |
|
identityAudienceMappings[].deleted |
Boolean |
true |
|
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
tenantId |
String |
true |
Deprecated.. |
name |
String |
true |
|
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities/mapping/auth0-opaque-userId-5/0fb59dee-3019-4984-b186-7f0ce28369f1' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 710
{
"id" : "ec387dd6-b179-415a-a2e6-1317fb27017a",
"organizationId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"firstName" : "John",
"lastName" : "Doe",
"email" : "john.doe@acme.com",
"identityMappings" : [ {
"id" : "38421776-5721-4b77-8a82-40f23134a6ff",
"auth0UserId" : "auth0-opaque-userId-5",
"identityProviderId" : "0fb59dee-3019-4984-b186-7f0ce28369f1",
"userIdentityId" : "ec387dd6-b179-415a-a2e6-1317fb27017a"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 463017000,
"epochSecond" : 1762265018
},
"deletedAt" : null,
"tenantId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"name" : "John Doe",
"type" : "UserIdentity"
}
Create Identity
POST /user-identities
Request fields
| Path | Type | Optional | Description |
|---|---|---|---|
organizationId |
String |
true |
|
firstName |
String |
true |
|
lastName |
String |
true |
|
String |
true |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
firstName |
String |
true |
|
lastName |
String |
true |
|
String |
true |
||
identityMappings |
Array[Object] |
true |
|
identityMappings[].id |
String |
true |
|
identityMappings[].auth0UserId |
String |
true |
|
identityMappings[].identityProviderId |
String |
true |
|
identityMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings |
Array[Object] |
true |
|
identityAudienceMappings[].id |
String |
true |
|
identityAudienceMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings[].oidcAudienceId |
String |
true |
|
identityAudienceMappings[].subject |
String |
true |
|
identityAudienceMappings[].active |
Boolean |
true |
|
identityAudienceMappings[].createdBy |
String |
true |
|
identityAudienceMappings[].createdAt |
Object |
true |
|
identityAudienceMappings[].deletedAt |
Object |
true |
|
identityAudienceMappings[].deletedBy |
String |
true |
|
identityAudienceMappings[].deleted |
Boolean |
true |
|
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
tenantId |
String |
true |
Deprecated.. |
name |
String |
true |
|
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"organizationId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"firstName" : "Jane",
"lastName" : "Doe",
"email" : "jane.doe@acme.com"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 479
{
"id" : "ee2a1292-cd08-4672-8b9b-012cb711371e",
"organizationId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"firstName" : "Jane",
"lastName" : "Doe",
"email" : "jane.doe@acme.com",
"identityMappings" : [ ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 483850000,
"epochSecond" : 1762265085
},
"deletedAt" : null,
"tenantId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"name" : "Jane Doe",
"type" : "UserIdentity"
}
Update
PUT /user-identities/{id}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Request fields
| Path | Type | Optional | Description |
|---|---|---|---|
firstName |
String |
true |
|
lastName |
String |
true |
|
String |
true |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
firstName |
String |
true |
|
lastName |
String |
true |
|
String |
true |
||
identityMappings |
Array[Object] |
true |
|
identityMappings[].id |
String |
true |
|
identityMappings[].auth0UserId |
String |
true |
|
identityMappings[].identityProviderId |
String |
true |
|
identityMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings |
Array[Object] |
true |
|
identityAudienceMappings[].id |
String |
true |
|
identityAudienceMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings[].oidcAudienceId |
String |
true |
|
identityAudienceMappings[].subject |
String |
true |
|
identityAudienceMappings[].active |
Boolean |
true |
|
identityAudienceMappings[].createdBy |
String |
true |
|
identityAudienceMappings[].createdAt |
Object |
true |
|
identityAudienceMappings[].deletedAt |
Object |
true |
|
identityAudienceMappings[].deletedBy |
String |
true |
|
identityAudienceMappings[].deleted |
Boolean |
true |
|
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
tenantId |
String |
true |
Deprecated.. |
name |
String |
true |
|
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities/2e3e0a8a-c79f-48e5-b3b0-33ea9cff2353' -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: 719
{
"id" : "2e3e0a8a-c79f-48e5-b3b0-33ea9cff2353",
"organizationId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"firstName" : "Bobby",
"lastName" : "White",
"email" : "bobby.white@acme.com",
"identityMappings" : [ {
"id" : "00c4eebd-1a82-42f6-8387-95ddee0e6356",
"auth0UserId" : "auth0-opaque-userId-365",
"identityProviderId" : "0fb59dee-3019-4984-b186-7f0ce28369f1",
"userIdentityId" : "2e3e0a8a-c79f-48e5-b3b0-33ea9cff2353"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 2507000,
"epochSecond" : 1762265085
},
"deletedAt" : null,
"tenantId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"name" : "Bobby White",
"type" : "UserIdentity"
}
Activate Or Deactivate User Identity
PUT /user-identities/{id}/{action:activate|deactivate}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
|
action |
String |
false |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
firstName |
String |
true |
|
lastName |
String |
true |
|
String |
true |
||
identityMappings |
Array[Object] |
true |
|
identityMappings[].id |
String |
true |
|
identityMappings[].auth0UserId |
String |
true |
|
identityMappings[].identityProviderId |
String |
true |
|
identityMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings |
Array[Object] |
true |
|
identityAudienceMappings[].id |
String |
true |
|
identityAudienceMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings[].oidcAudienceId |
String |
true |
|
identityAudienceMappings[].subject |
String |
true |
|
identityAudienceMappings[].active |
Boolean |
true |
|
identityAudienceMappings[].createdBy |
String |
true |
|
identityAudienceMappings[].createdAt |
Object |
true |
|
identityAudienceMappings[].deletedAt |
Object |
true |
|
identityAudienceMappings[].deletedBy |
String |
true |
|
identityAudienceMappings[].deleted |
Boolean |
true |
|
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
tenantId |
String |
true |
Deprecated.. |
name |
String |
true |
|
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities/58aa0ce3-907c-4169-accd-e0e806117d38/deactivate' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 718
{
"id" : "58aa0ce3-907c-4169-accd-e0e806117d38",
"organizationId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"firstName" : "First",
"lastName" : "Last",
"email" : "random-366@acme.com",
"identityMappings" : [ {
"id" : "bf5c027f-fac4-465c-a13f-6171c54fbce9",
"auth0UserId" : "auth0-opaque-userId-367",
"identityProviderId" : "0fb59dee-3019-4984-b186-7f0ce28369f1",
"userIdentityId" : "58aa0ce3-907c-4169-accd-e0e806117d38"
} ],
"identityAudienceMappings" : [ ],
"active" : false,
"createdAt" : {
"nano" : 73832000,
"epochSecond" : 1762265085
},
"deletedAt" : null,
"tenantId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"name" : "First Last",
"type" : "UserIdentity"
}
Reset User Identity Mfa Settings
PUT /user-identities/{id}/reset-mfa
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Response fields
No response body.
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities/d60bcdb8-5319-463d-b5f9-203528f2e89c/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/366a96e5-4458-4a6e-b6c9-85010ded2d25/mapping' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"auth0UserId" : "new-auth0-userId:28d44e35-a86e-43a0-aba6-816311982026",
"identityProviderId" : "c45fb057-4cfb-46f0-a70b-16355dfe3893"
}'
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" : "09704e87-4609-4503-9f70-b72891a02aa8",
"organizationId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"auth0ClientId" : null,
"awsCognitoClientId" : "97927fad-94fb-43d1-b4f4-058caafaedf0|cyjhwlkb",
"authenticationUrl" : "https://netfoundry-test-pcavww.auth.us-east-1.amazoncognito.com/oauth2/token",
"name" : "Testing Limits",
"contactEmail" : "a@acme.com",
"description" : "description",
"active" : true,
"createdAt" : {
"nano" : 515416000,
"epochSecond" : 1762265034
},
"updatedAt" : null,
"deletedAt" : null,
"email" : "a@acme.com",
"tenantId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"type" : "ApiAccountIdentity"
}, {
"id" : "21edeab4-8283-41a4-9998-8c8d8ec1d95f",
"organizationId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"auth0ClientId" : null,
"awsCognitoClientId" : "7cf753ad-016a-4577-a2a8-70b249d34c6c|phpygdqw",
"authenticationUrl" : "https://netfoundry-test-eyhbrr.auth.us-east-1.amazoncognito.com/oauth2/token",
"name" : "Testing Limits",
"contactEmail" : "a@acme.com",
"description" : "description",
"active" : true,
"createdAt" : {
"nano" : 152123000,
"epochSecond" : 1762265032
},
"updatedAt" : null,
"deletedAt" : null,
"email" : "a@acme.com",
"tenantId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"type" : "ApiAccountIdentity"
}, {
"id" : "27dc0028-4564-4991-b261-561b98954f1b",
"organizationId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"auth0ClientId" : null,
"awsCognitoClientId" : "7cf753ad-016a-4577-a2a8-70b249d34c6c|jyydhpbk",
"authenticationUrl" : "https://netfoundry-test-eyhbrr.auth.us-east-1.amazoncognito.com/oauth2/token",
"name" : "Testing Limits",
"contactEmail" : "a@acme.com",
"description" : "description",
"active" : true,
"createdAt" : {
"nano" : 207402000,
"epochSecond" : 1762265032
},
"updatedAt" : null,
"deletedAt" : null,
"email" : "a@acme.com",
"tenantId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"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/3401f4bf-3f54-439e-ac57-abc33af259ae' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 718
{
"id" : "3401f4bf-3f54-439e-ac57-abc33af259ae",
"organizationId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"auth0ClientId" : "8b62f89c-e11a-4b39-a3e3-79f09c8cda60",
"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" : 515913000,
"epochSecond" : 1762265018
},
"updatedAt" : {
"nano" : 472619000,
"epochSecond" : 1762265020
},
"deletedAt" : null,
"email" : "no-reply@acme.com",
"tenantId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"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/1ac74c77-8c68-42ea-80f0-71ad414ced94' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 682
{
"id" : "be3ab0ee-48b9-479f-9482-55f491a7123e",
"organizationId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"auth0ClientId" : "1ac74c77-8c68-42ea-80f0-71ad414ced94",
"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" : 755196000,
"epochSecond" : 1762265058
},
"updatedAt" : null,
"deletedAt" : null,
"email" : "service.admin-32@foo.com",
"tenantId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"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" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"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" : "4ef774a5-ed27-432f-b6bd-e2f6a521af8d",
"organizationId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"auth0ClientId" : null,
"awsCognitoClientId" : "0d69c349-0225-4ac5-a834-119c591b7d4d|ehcihhvi",
"authenticationUrl" : "https://netfoundry-test-kisyfl.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" : 617001000,
"epochSecond" : 1762265024
},
"updatedAt" : null,
"deletedAt" : null,
"email" : "hr.director@acme.com",
"tenantId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"type" : "ApiAccountIdentity"
},
"clientId" : "ehcihhvi",
"password" : "ejlnbrhxskijbtethojdroej",
"authenticationUrl" : "https://netfoundry-test-kisyfl.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/a10cc267-e41b-4ed1-b566-f68455146d15' -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" : "a10cc267-e41b-4ed1-b566-f68455146d15",
"organizationId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"auth0ClientId" : "7e00f05d-0cd0-49c2-9b37-053b73f7ba18",
"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" : 552790000,
"epochSecond" : 1762265018
},
"updatedAt" : {
"nano" : 548062000,
"epochSecond" : 1762265019
},
"deletedAt" : null,
"email" : "robot@acme.com",
"tenantId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"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/2fe87c98-6632-4042-876f-63b2cfb12d07/deactivate' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 739
{
"id" : "2fe87c98-6632-4042-876f-63b2cfb12d07",
"organizationId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"auth0ClientId" : "597d4842-0485-47d6-a4d1-a4800a0e33d8",
"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" : 523777000,
"epochSecond" : 1762265058
},
"updatedAt" : {
"nano" : 568354000,
"epochSecond" : 1762265058
},
"deletedAt" : null,
"email" : "service.admin-26@foo.com",
"tenantId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"type" : "ApiAccountIdentity"
}
Invitation
Find Invitations
GET /invitations
Query parameters
Supports standard paging query parameters.
| Parameter | Type | Optional | Description |
|---|---|---|---|
fromIdentityId |
Object |
true |
|
toTenantId |
Object |
true |
Deprecated.. |
toOrganizationId |
Object |
true |
|
invitedEmailAddress |
String |
true |
|
targetIdentityId |
Object |
true |
|
states |
Object |
true |
Must be one of [Open, Accepted, Declined, Expired, Revoked]. |
Response fields
Standard paging response where content field is list of following objects:
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
fromIdentityId |
String |
true |
|
toOrganizationId |
String |
true |
|
invitedEmailAddress |
String |
true |
|
expiration |
Object |
true |
|
targetUserIdentityId |
String |
true |
|
accepted |
Boolean |
true |
|
revokedAt |
Object |
true |
|
responseReceivedAt |
Object |
true |
|
toTenantId |
String |
true |
Deprecated.. |
state |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/invitations' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 525
[ {
"id" : "743bb195-d64e-4df8-ac47-5d944f8cc164",
"fromIdentityId" : "1c02fed7-0893-4262-9c89-e50626d3f0ae",
"toOrganizationId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"invitedEmailAddress" : "new.employee@acme.com",
"expiration" : {
"nano" : 7037000,
"epochSecond" : 1762869872
},
"targetUserIdentityId" : "222c19d2-45ed-44dc-a23b-47d8893de97a",
"accepted" : null,
"revokedAt" : null,
"responseReceivedAt" : null,
"toTenantId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"state" : "Open"
} ]
Get Invitation By Id
GET /invitations/{id:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
fromIdentityId |
String |
true |
|
toOrganizationId |
String |
true |
|
invitedEmailAddress |
String |
true |
|
expiration |
Object |
true |
|
targetUserIdentityId |
String |
true |
|
accepted |
Boolean |
true |
|
revokedAt |
Object |
true |
|
responseReceivedAt |
Object |
true |
|
toTenantId |
String |
true |
Deprecated.. |
state |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/invitations/c2f0531d-cdfd-4dad-921a-017138adc4c8' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 527
{
"id" : "c2f0531d-cdfd-4dad-921a-017138adc4c8",
"fromIdentityId" : "ec387dd6-b179-415a-a2e6-1317fb27017a",
"toOrganizationId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"invitedEmailAddress" : "new.employee-240@acme.com",
"expiration" : {
"nano" : 701736000,
"epochSecond" : 1762869872
},
"targetUserIdentityId" : "1fd0d2ab-f19b-4651-85ba-631e4bd5d730",
"accepted" : null,
"revokedAt" : null,
"responseReceivedAt" : null,
"toTenantId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"state" : "Open"
}
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 |
|
brandingOrganizationId |
String |
true |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
fromIdentityId |
String |
true |
|
toOrganizationId |
String |
true |
|
invitedEmailAddress |
String |
true |
|
expiration |
Object |
true |
|
targetUserIdentityId |
String |
true |
|
accepted |
Boolean |
true |
|
revokedAt |
Object |
true |
|
responseReceivedAt |
Object |
true |
|
toTenantId |
String |
true |
Deprecated.. |
state |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/invitations' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"toOrganizationId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"invitedEmailAddress" : "new.employee@acme.com",
"invitationUrl" : "http://acme.console.netfoundry.io/invitation",
"targetUserIdentityId" : "222c19d2-45ed-44dc-a23b-47d8893de97a",
"brandingOrganizationId" : null
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 521
{
"id" : "743bb195-d64e-4df8-ac47-5d944f8cc164",
"fromIdentityId" : "1c02fed7-0893-4262-9c89-e50626d3f0ae",
"toOrganizationId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"invitedEmailAddress" : "new.employee@acme.com",
"expiration" : {
"nano" : 7037000,
"epochSecond" : 1762869872
},
"targetUserIdentityId" : "222c19d2-45ed-44dc-a23b-47d8893de97a",
"accepted" : null,
"revokedAt" : null,
"responseReceivedAt" : null,
"toTenantId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"state" : "Open"
}
Respond To Invitation
PUT /invitations/{id:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}}/{action:accept|decline}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
|
action |
String |
false |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
fromIdentityId |
String |
true |
|
toOrganizationId |
String |
true |
|
invitedEmailAddress |
String |
true |
|
expiration |
Object |
true |
|
targetUserIdentityId |
String |
true |
|
accepted |
Boolean |
true |
|
revokedAt |
Object |
true |
|
responseReceivedAt |
Object |
true |
|
toTenantId |
String |
true |
Deprecated.. |
state |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/invitations/176ecbf8-36bb-4f25-ba0b-bb3f84eafec4/decline' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 588
{
"id" : "176ecbf8-36bb-4f25-ba0b-bb3f84eafec4",
"fromIdentityId" : "ec387dd6-b179-415a-a2e6-1317fb27017a",
"toOrganizationId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"invitedEmailAddress" : "new.employee-237@acme.com",
"expiration" : {
"nano" : 541246000,
"epochSecond" : 1762869872
},
"targetUserIdentityId" : "d84e6dcd-914c-4077-a6b4-41dd2041171b",
"accepted" : false,
"revokedAt" : null,
"responseReceivedAt" : {
"nano" : 553750000,
"epochSecond" : 1762265072
},
"toTenantId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"state" : "Declined"
}
Revoke Invitation
PUT /invitations/{id:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}}/revoke
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
fromIdentityId |
String |
true |
|
toOrganizationId |
String |
true |
|
invitedEmailAddress |
String |
true |
|
expiration |
Object |
true |
|
targetUserIdentityId |
String |
true |
|
accepted |
Boolean |
true |
|
revokedAt |
Object |
true |
|
responseReceivedAt |
Object |
true |
|
toTenantId |
String |
true |
Deprecated.. |
state |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/invitations/bb28be98-dd91-44a4-ad40-19a0ad11e7fc/revoke' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 642
{
"id" : "bb28be98-dd91-44a4-ad40-19a0ad11e7fc",
"fromIdentityId" : "ec387dd6-b179-415a-a2e6-1317fb27017a",
"toOrganizationId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"invitedEmailAddress" : "new.employee-243@acme.com",
"expiration" : {
"nano" : 778746000,
"epochSecond" : 1762869872
},
"targetUserIdentityId" : "f0c646e0-698b-4749-8edf-93d10007cebf",
"accepted" : null,
"revokedAt" : {
"nano" : 817759000,
"epochSecond" : 1762265072
},
"responseReceivedAt" : {
"nano" : 817764000,
"epochSecond" : 1762265072
},
"toTenantId" : "8c743c9d-2ee0-4908-8242-66d213ef805a",
"state" : "Revoked"
}
Support
Create Support Request
POST /nfconsole/support/requests
Authorization
Authorization not required for this request.
Request fields
| Path | Type | Optional | Description |
|---|---|---|---|
name |
String |
true |
|
String |
true |
||
selectedOrganizationId |
String |
true |
|
selectedNetworkId |
String |
true |
|
subject |
String |
true |
|
comment |
String |
true |
|
type |
String |
true |
Must be one of [problem, incident, question, task]. |
priority |
String |
true |
Must be one of [urgent, high, normal, low]. |
severity |
String |
true |
Must be one of [Severity1, Severity2, Severity3]. |
recentErrorMessages |
Array[String] |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/nfconsole/support/requests' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"name" : "Curious George",
"email" : "george@curious-client.com",
"selectedOrganizationId" : null,
"selectedNetworkId" : null,
"subject" : "Sales Contact Request",
"comment" : "This looks great! I'd like a sales rep to contact me.",
"type" : "question",
"priority" : "high",
"severity" : "Severity3",
"recentErrorMessages" : null
}'
Example response
HTTP/1.1 200 OK
Invitation Flow
Get Invitation By Key
GET /invitations/key/{key:\p{Alnum}{36}}
Authorization
Authorization not required for this request.
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
key |
String |
false |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
fromIdentity |
Object |
true |
|
fromIdentity.name |
String |
true |
|
fromIdentity.email |
String |
true |
|
targetIdentity |
Object |
true |
|
targetIdentity.name |
String |
true |
|
targetIdentity.email |
String |
true |
|
invitedEmailAddress |
String |
true |
|
toOrganizationName |
String |
true |
|
toOrganizationLabel |
String |
true |
|
expiration |
Object |
true |
|
accepted |
Boolean |
true |
|
state |
String |
true |
Must be one of [Open, Accepted, Declined, Expired, Revoked]. |
toTenantLabel |
String |
true |
Deprecated.. |
toTenantName |
String |
true |
Deprecated.. |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/invitations/key/Q9khjpgF5tUOhMk3pcy6ojUG917vFuZymI7u' -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" : 522512000,
"epochSecond" : 1762869873
},
"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/DSq4lqRqIiMC81P8wlkgEjp0KisXjVquq5bv/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" : 407227000,
"epochSecond" : 1762869873
},
"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/gV23iNRrWXvGRErsrCldDwjuDlyyF5GZ2kVE/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.eyJpYXQiOjE3NjIyNjUwNzMsImV4cCI6MTc2MjI2NTk3MywiaXNzIjoiaHR0cDovL2xvY2FsaG9zdDo4MDgwL2lkZW50aXR5L3YxIiwiYXVkIjoiaHR0cHM6Ly9uZXRmb3VuZHJ5LXNhbmRib3guYXV0aDAuY29tLyIsImZsb3ciOiJpbnZpdGF0aW9uIiwiaW52aXRhdGlvbklkIjoiYWYwZjQ1YTQtMWVmOS00MzMzLWFmZjAtMzQzYjI3MDdjYTk4IiwidGVuYW50TGFiZWwiOiJBQ01FLTIiLCJhdXRoMENvbm5lY3Rpb25JZHMiOlsiYXV0aDAtb3BhcXVlLWNvbm5lY3Rpb25JZC0zIiwiYXV0aDAtb3BhcXVlLWNvbm5lY3Rpb25JZC00Il0sInJlZGlyZWN0VXJsIjoiaHR0cDovL2NvbnNvbGUubmZhZG1pbi5uZXRmb3VuZHJ5LmlvL2ludml0YXRpb24ifQ.UZ2lLeZS3fflxwQQVSJWXNStaR_qIeMCUIqdq7f8J-E-qBe6y3EWYEqcHugRgNm0a_3UG1h6AC-68PoSOdukffhlSvazsp68yJU27LTpuGBZq4rVjlPaKAjr04lggyr2eVIXPehAzuMsFfFndtvXDNbl9BQF8kjOIeQVVOgECZeop_A3YKUPWyr_cZMIVyMb03fEGxIcf414-x1V_RTSA2LheIP8Z119H0tg2Eji5ShDJ1T7qKxctBYq5T-jT9N3As_0qdp_QfBnmH4imx-mb3PvN1X-S5KaUxtBNtM40mT8Rkfl09SlEnvcT--6Sus6VaC7lhO9TMIcK6yFeT95PQ",
"auth0ConnectionIds" : [ "auth0-opaque-connectionId-3", "auth0-opaque-connectionId-4" ]
}
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.eyJpYXQiOjE3NjIyNjUwNzMsImV4cCI6MTc2MjI2NTk3MywiaXNzIjoiaHR0cDovL2xvY2FsaG9zdDo4MDgwL2lkZW50aXR5L3YxIiwiYXVkIjoiaHR0cHM6Ly9uZXRmb3VuZHJ5LXNhbmRib3guYXV0aDAuY29tLyIsImZsb3ciOiJsb2dpbiIsInRlbmFudExhYmVsIjoiQUNNRS0yIiwiYXV0aDBDb25uZWN0aW9uSWRzIjpbImF1dGgwLW9wYXF1ZS1jb25uZWN0aW9uSWQtMyIsImF1dGgwLW9wYXF1ZS1jb25uZWN0aW9uSWQtNCJdLCJyZWRpcmVjdFVybCI6Imh0dHA6Ly9jb25zb2xlLm5mYWRtaW4ubmV0Zm91bmRyeS5pby9pbnZpdGF0aW9uIn0.aAysWttIUwI8gNcqxHHw-jACOnGBZhcAGhNf9ptoRiqg2OGnujvPyrC6ZeSwAubtw2F64g37Fa-K3X2eP-nX5z1NW5ZKocxb07DeIce6VIUZCWMIzzH5iQD_qOFSeKaTLwMBRRn_pSvN1ZYkW55qE5rHifIG25ntYSRKDGnv8aiwfKtwFEehaxB7_yPejhFc5-47cgJCws0VaixSCheT6vbQs63t0Z3B5o3pER1O8spkKXX7xEb0LnVDttO1xOgC9Rb5psvRYmePIwFzwt4PMKA-p_3H6hqN7Mrv4qOd75VlAqFC3aOVtpHLhjweX10dvBYwVj4EgKt-Z0Zr730yLw",
"auth0ConnectionIds" : [ "auth0-opaque-connectionId-3", "auth0-opaque-connectionId-4" ]
}
Identity Preference Flow
Find Identity Preferences
GET /identity-preferences
Response fields
Standard paging response where content field is list of following objects:
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
userIdentityId |
String |
true |
|
preferences |
Object |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identity-preferences' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1283
[ {
"id" : "14bc90e1-6b6c-401e-9aae-487e1bf28569",
"userIdentityId" : "5e663989-9bc7-47b4-b3dd-95f0eed76e64",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "5e663989-9bc7-47b4-b3dd-95f0eed76e64",
"createdAt" : {
"nano" : 344238000,
"epochSecond" : 1762265068
},
"updatedAt" : {
"nano" : 344238000,
"epochSecond" : 1762265068
},
"deletedBy" : null,
"deletedAt" : null
}, {
"id" : "1a7ee217-846f-46d9-9ea7-293c0ce2bd5f",
"userIdentityId" : "513c8b5a-10fd-4a19-98f6-ade55844ed8f",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "513c8b5a-10fd-4a19-98f6-ade55844ed8f",
"createdAt" : {
"nano" : 249203000,
"epochSecond" : 1762265068
},
"updatedAt" : {
"nano" : 249203000,
"epochSecond" : 1762265068
},
"deletedBy" : null,
"deletedAt" : null
}, {
"id" : "878cf8ff-ff6b-42b8-aaa4-402de8e6ecae",
"userIdentityId" : "cb2633fe-9275-4075-a514-a46dbea8c24f",
"preferences" : {
"hello" : "world"
},
"createdBy" : "cb2633fe-9275-4075-a514-a46dbea8c24f",
"createdAt" : {
"nano" : 461628000,
"epochSecond" : 1762265068
},
"updatedAt" : {
"nano" : 461628000,
"epochSecond" : 1762265068
},
"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/b0fd547d-6b5c-4b5e-954e-2fe4ec03a3f3' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 415
{
"id" : "b0fd547d-6b5c-4b5e-954e-2fe4ec03a3f3",
"userIdentityId" : "f3c23b70-ab24-40b5-8e21-087ed33307e2",
"preferences" : {
"hello" : "world"
},
"createdBy" : "f3c23b70-ab24-40b5-8e21-087ed33307e2",
"createdAt" : {
"nano" : 631086000,
"epochSecond" : 1762265069
},
"updatedAt" : {
"nano" : 631086000,
"epochSecond" : 1762265069
},
"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" : "17308d9e-eda4-4237-854d-ba1854bac7cd",
"userIdentityId" : "fedcd929-b8ec-46ba-a2c0-3b8ab93b876b",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "fedcd929-b8ec-46ba-a2c0-3b8ab93b876b",
"createdAt" : {
"nano" : 831005000,
"epochSecond" : 1762265068
},
"updatedAt" : {
"nano" : 831005000,
"epochSecond" : 1762265068
},
"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/30d743ba-a697-4854-85f5-c66fd77688a7' -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" : "30d743ba-a697-4854-85f5-c66fd77688a7",
"userIdentityId" : "777c2d6a-9b12-4f64-b24e-155886859d22",
"preferences" : {
"updated" : "my second preference."
},
"createdBy" : "777c2d6a-9b12-4f64-b24e-155886859d22",
"createdAt" : {
"nano" : 653856000,
"epochSecond" : 1762265070
},
"updatedAt" : {
"nano" : 668820000,
"epochSecond" : 1762265070
},
"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/70f61fe1-d5d9-4ca8-83b7-83729fa07fd9' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 505
{
"id" : "70f61fe1-d5d9-4ca8-83b7-83729fa07fd9",
"userIdentityId" : "31eff78d-6b25-4dad-91b1-714e7af169a6",
"preferences" : {
"hello" : "world"
},
"createdBy" : "31eff78d-6b25-4dad-91b1-714e7af169a6",
"createdAt" : {
"nano" : 153515000,
"epochSecond" : 1762265069
},
"updatedAt" : {
"nano" : 165273000,
"epochSecond" : 1762265069
},
"deletedBy" : "1da65bc6-bc56-4e46-b030-20d4a8dde59a",
"deletedAt" : {
"nano" : 164000000,
"epochSecond" : 1762265069
}
}
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: 1268
[ {
"id" : "e8c2568a-72a5-4437-aa65-8b53450c4de5",
"organizationId" : "f5ad1d06-1799-4ac9-9649-e55c249e7a74",
"preferences" : {
"hello" : "world"
},
"createdBy" : "5d26ea5b-81b1-43d7-9ab6-ea79b84590f6",
"createdAt" : {
"nano" : 922823000,
"epochSecond" : 1762265078
},
"updatedAt" : {
"nano" : 922823000,
"epochSecond" : 1762265078
},
"deletedBy" : null,
"deletedAt" : null
}, {
"id" : "f494f078-b267-46cf-bd4c-7ebc6769543f",
"organizationId" : "a0aff441-c97f-4987-a5fa-db474b1ffbe9",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "f92730fd-b5ba-4e07-a352-d6323a672b0f",
"createdAt" : {
"nano" : 818109000,
"epochSecond" : 1762265078
},
"updatedAt" : {
"nano" : 818109000,
"epochSecond" : 1762265078
},
"deletedBy" : null,
"deletedAt" : null
}, {
"id" : "fa749e47-c5c2-444d-bc37-59358a1c2e84",
"organizationId" : "b81b3334-3e48-40b1-80d6-dd2c1f2061de",
"preferences" : {
"hello" : "world"
},
"createdBy" : "54e6b2fb-683c-45a8-9bcd-a2144ccbe2a2",
"createdAt" : {
"nano" : 670255000,
"epochSecond" : 1762265078
},
"updatedAt" : {
"nano" : 670255000,
"epochSecond" : 1762265078
},
"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/e8c2568a-72a5-4437-aa65-8b53450c4de5' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 415
{
"id" : "e8c2568a-72a5-4437-aa65-8b53450c4de5",
"organizationId" : "f5ad1d06-1799-4ac9-9649-e55c249e7a74",
"preferences" : {
"hello" : "world"
},
"createdBy" : "5d26ea5b-81b1-43d7-9ab6-ea79b84590f6",
"createdAt" : {
"nano" : 922823000,
"epochSecond" : 1762265078
},
"updatedAt" : {
"nano" : 922823000,
"epochSecond" : 1762265078
},
"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" : "a0aff441-c97f-4987-a5fa-db474b1ffbe9",
"preferences" : {
"first" : "my first preference."
}
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 430
{
"id" : "f494f078-b267-46cf-bd4c-7ebc6769543f",
"organizationId" : "a0aff441-c97f-4987-a5fa-db474b1ffbe9",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "f92730fd-b5ba-4e07-a352-d6323a672b0f",
"createdAt" : {
"nano" : 818109000,
"epochSecond" : 1762265078
},
"updatedAt" : {
"nano" : 818109000,
"epochSecond" : 1762265078
},
"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/6d67a544-6202-4c68-b948-70d13d77b51a' -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: 431
{
"id" : "6d67a544-6202-4c68-b948-70d13d77b51a",
"organizationId" : "53466157-80b3-4fef-b73e-7bdf8b7b467e",
"preferences" : {
"updated" : "my second preference."
},
"createdBy" : "50ab05dc-0ab7-466d-b72e-f5a4cf7984da",
"createdAt" : {
"nano" : 72056000,
"epochSecond" : 1762265079
},
"updatedAt" : {
"nano" : 87155000,
"epochSecond" : 1762265079
},
"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/624e5091-8243-48a0-a213-bf13f7a4d5f8' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 505
{
"id" : "624e5091-8243-48a0-a213-bf13f7a4d5f8",
"organizationId" : "e3bc0c13-48e6-4458-a20d-8d52963faa0c",
"preferences" : {
"hello" : "world"
},
"createdBy" : "fcd8c3fd-db47-44f9-a7f7-632da3d5ac71",
"createdAt" : {
"nano" : 864691000,
"epochSecond" : 1762265078
},
"updatedAt" : {
"nano" : 879165000,
"epochSecond" : 1762265078
},
"deletedBy" : "713bcff8-8af4-47f7-a652-2c2679c8ce9e",
"deletedAt" : {
"nano" : 878000000,
"epochSecond" : 1762265078
}
}