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: 3971
[ {
"id" : "01b2d0dd-a42c-4f7f-98fa-1472651924bc",
"realmId" : "cc9c1fac-e4a9-4b9b-9fd3-568d258434c4",
"name" : "World Wide Imports",
"label" : "WW-Imports-55",
"identityProviders" : [ {
"id" : "465b267a-d3de-4371-a421-7ecb7dc79385",
"organizationId" : "01b2d0dd-a42c-4f7f-98fa-1472651924bc",
"auth0ConnectionId" : "auth0-opaque-connectionId-56",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 772491000,
"epochSecond" : 1759492904
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ {
"id" : "32ab19a6-ce80-4bff-8217-a24aed8484b3",
"organizationId" : "01b2d0dd-a42c-4f7f-98fa-1472651924bc",
"name" : "Standard Role - bf4ecd2b-4c4a-452f-84a4-889ceefec3dd",
"roleType" : "Standard",
"roleId" : "bf4ecd2b-4c4a-452f-84a4-889ceefec3dd",
"createdBy" : "b7651fc4-3cc4-45cb-8ef4-bbf32bb9ed12",
"createdAt" : {
"nano" : 786477000,
"epochSecond" : 1759492904
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
} ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 769657000,
"epochSecond" : 1759492904
},
"updatedAt" : null,
"deletedBy" : null,
"deletedAt" : null,
"deleted" : false
}, {
"id" : "11d2184f-1267-4a4d-9fae-5732ceb82164",
"realmId" : "cc9c1fac-e4a9-4b9b-9fd3-568d258434c4",
"name" : "World Wide Imports",
"label" : "WW-Imports-71",
"identityProviders" : [ {
"id" : "1a6da2f0-47dc-47ff-aea6-3d82ec783614",
"organizationId" : "11d2184f-1267-4a4d-9fae-5732ceb82164",
"auth0ConnectionId" : "auth0-opaque-connectionId-72",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 103165000,
"epochSecond" : 1759492905
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ {
"id" : "a8792c8a-c022-4ece-a835-8246c264bcc1",
"organizationId" : "11d2184f-1267-4a4d-9fae-5732ceb82164",
"name" : "Standard Role - c0726b1b-7c72-4372-86f3-df21ef0a7c55",
"roleType" : "Standard",
"roleId" : "c0726b1b-7c72-4372-86f3-df21ef0a7c55",
"createdBy" : "e0594643-ed2e-40f4-aa15-5bfd7c8a6e59",
"createdAt" : {
"nano" : 119661000,
"epochSecond" : 1759492905
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
} ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 100437000,
"epochSecond" : 1759492905
},
"updatedAt" : null,
"deletedBy" : null,
"deletedAt" : null,
"deleted" : false
}, {
"id" : "25957d2a-9130-4bfe-9285-502670db599b",
"realmId" : "cc9c1fac-e4a9-4b9b-9fd3-568d258434c4",
"name" : "World Wide Imports",
"label" : "WW-Imports-89",
"identityProviders" : [ {
"id" : "7afacbc5-74fa-492d-875d-cf2d2d2522d8",
"organizationId" : "25957d2a-9130-4bfe-9285-502670db599b",
"auth0ConnectionId" : "auth0-opaque-connectionId-90",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 483944000,
"epochSecond" : 1759492905
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ {
"id" : "77ababd6-3305-4dba-995e-57721dbf55e7",
"organizationId" : "25957d2a-9130-4bfe-9285-502670db599b",
"name" : "Standard Role - ccefe2fc-0167-4692-b3e8-560df02c7a71",
"roleType" : "Standard",
"roleId" : "ccefe2fc-0167-4692-b3e8-560df02c7a71",
"createdBy" : "6bf2defc-999b-4299-8d6f-46894bfb5ca8",
"createdAt" : {
"nano" : 497145000,
"epochSecond" : 1759492905
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
} ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 482272000,
"epochSecond" : 1759492905
},
"updatedAt" : null,
"deletedBy" : null,
"deletedAt" : null,
"deleted" : false
} ]
Get Organization By Self
GET /organizations/self
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/self' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 2217
{
"id" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"realmId" : "2b551792-324e-4200-ab38-3d17f27ac13d",
"name" : "ACME International, Inc.",
"label" : "ACME-2",
"identityProviders" : [ {
"id" : "0d15931e-e0e8-42d8-b3f3-099af5d7fe2a",
"organizationId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"auth0ConnectionId" : "auth0-opaque-connectionId-3",
"name" : "ACME Federated Active Directory",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 70853000,
"epochSecond" : 1759492858
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "e615d262-f9a4-47d7-9873-4cb437180066",
"organizationId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"auth0ConnectionId" : "auth0-opaque-connectionId-4",
"name" : "Google-Account",
"auth0ConnectionType" : "Social",
"active" : true,
"createdAt" : {
"nano" : 81627000,
"epochSecond" : 1759492858
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ {
"id" : "f32ce0c7-1e83-4fa2-8d35-8007ad783ae4",
"organizationId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"name" : "Standard Role - d14a86fa-a2b7-4d80-9f21-3b50fe0f1e11",
"roleType" : "Standard",
"roleId" : "d14a86fa-a2b7-4d80-9f21-3b50fe0f1e11",
"createdBy" : "edb62d1e-a76e-4f3a-a128-d2ffc9a6bb1e",
"createdAt" : {
"nano" : 213224000,
"epochSecond" : 1759492858
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "2752791a-4288-4db2-bd23-179474822ed4",
"organizationId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"name" : "Custom Role - 779b2e74-0b88-4265-9c1b-f2ac4ad6c843",
"roleType" : "Custom",
"roleId" : "779b2e74-0b88-4265-9c1b-f2ac4ad6c843",
"createdBy" : "0b6b48b9-8464-4dfc-a3e1-5f1305c9a618",
"createdAt" : {
"nano" : 232725000,
"epochSecond" : 1759492858
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
} ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 66798000,
"epochSecond" : 1759492858
},
"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/4946ed1e-b574-4be0-a42c-12f1fdf9e404' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 2217
{
"id" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"realmId" : "2b551792-324e-4200-ab38-3d17f27ac13d",
"name" : "ACME International, Inc.",
"label" : "ACME-2",
"identityProviders" : [ {
"id" : "0d15931e-e0e8-42d8-b3f3-099af5d7fe2a",
"organizationId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"auth0ConnectionId" : "auth0-opaque-connectionId-3",
"name" : "ACME Federated Active Directory",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 70853000,
"epochSecond" : 1759492858
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "e615d262-f9a4-47d7-9873-4cb437180066",
"organizationId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"auth0ConnectionId" : "auth0-opaque-connectionId-4",
"name" : "Google-Account",
"auth0ConnectionType" : "Social",
"active" : true,
"createdAt" : {
"nano" : 81627000,
"epochSecond" : 1759492858
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ {
"id" : "f32ce0c7-1e83-4fa2-8d35-8007ad783ae4",
"organizationId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"name" : "Standard Role - d14a86fa-a2b7-4d80-9f21-3b50fe0f1e11",
"roleType" : "Standard",
"roleId" : "d14a86fa-a2b7-4d80-9f21-3b50fe0f1e11",
"createdBy" : "edb62d1e-a76e-4f3a-a128-d2ffc9a6bb1e",
"createdAt" : {
"nano" : 213224000,
"epochSecond" : 1759492858
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "2752791a-4288-4db2-bd23-179474822ed4",
"organizationId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"name" : "Custom Role - 779b2e74-0b88-4265-9c1b-f2ac4ad6c843",
"roleType" : "Custom",
"roleId" : "779b2e74-0b88-4265-9c1b-f2ac4ad6c843",
"createdBy" : "0b6b48b9-8464-4dfc-a3e1-5f1305c9a618",
"createdAt" : {
"nano" : 232725000,
"epochSecond" : 1759492858
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
} ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 66798000,
"epochSecond" : 1759492858
},
"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: 1058
{
"id" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"realmId" : "2b551792-324e-4200-ab38-3d17f27ac13d",
"name" : "ACME International, Inc.",
"label" : "ACME-2",
"active" : true,
"identityProviders" : [ {
"id" : "0d15931e-e0e8-42d8-b3f3-099af5d7fe2a",
"organizationId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"auth0ConnectionId" : "auth0-opaque-connectionId-3",
"name" : "ACME Federated Active Directory",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 70853000,
"epochSecond" : 1759492858
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "e615d262-f9a4-47d7-9873-4cb437180066",
"organizationId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"auth0ConnectionId" : "auth0-opaque-connectionId-4",
"name" : "Google-Account",
"auth0ConnectionType" : "Social",
"active" : true,
"createdAt" : {
"nano" : 81627000,
"epochSecond" : 1759492858
},
"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" : "92a41033-6a2f-427b-b5f3-d6332df3f5e6",
"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" : "bfdc3af8-2c83-494f-a0c7-35fc73096845",
"realmId" : "92a41033-6a2f-427b-b5f3-d6332df3f5e6",
"name" : "Best Corp.",
"label" : "BEST-CORP",
"identityProviders" : [ {
"id" : "9158658b-7d6e-43ed-9d70-59cec5013262",
"organizationId" : "bfdc3af8-2c83-494f-a0c7-35fc73096845",
"auth0ConnectionId" : "auth0-opaque-connection",
"name" : "Best Corp.",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 426570000,
"epochSecond" : 1759492913
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 425596000,
"epochSecond" : 1759492913
},
"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/e8900d8a-32e3-4ddc-a566-912ebaa7cc45/deactivate' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 893
{
"id" : "e8900d8a-32e3-4ddc-a566-912ebaa7cc45",
"realmId" : "cc9c1fac-e4a9-4b9b-9fd3-568d258434c4",
"name" : "World Wide Imports",
"label" : "WW-Imports-275",
"identityProviders" : [ {
"id" : "372c65ae-6589-4747-8ce6-3d40c6f094b9",
"organizationId" : "e8900d8a-32e3-4ddc-a566-912ebaa7cc45",
"auth0ConnectionId" : "auth0-opaque-connectionId-276",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 583736000,
"epochSecond" : 1759492914
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ ],
"active" : false,
"mfaProvider" : null,
"createdAt" : {
"nano" : 582607000,
"epochSecond" : 1759492914
},
"updatedAt" : {
"nano" : 595103000,
"epochSecond" : 1759492914
},
"deletedBy" : null,
"deletedAt" : null,
"deleted" : false
}
Add Identity Provider
POST /organizations/{id}/identity-providers
Authorization
This endpoint requires:
-
create-identity-provider
action on thisorganization
resource.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Request fields
Path | Type | Optional | Description |
---|---|---|---|
auth0ConnectionId |
String |
true |
|
identityProviderName |
String |
true |
|
auth0ConnectionType |
String |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
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/ef39ba8e-88eb-4224-aaca-b8aba93a1cd3/identity-providers' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"auth0ConnectionId" : "auth0-opaque-connection",
"identityProviderName" : "Corp SAML",
"auth0ConnectionType" : "Enterprise"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 1232
{
"id" : "ef39ba8e-88eb-4224-aaca-b8aba93a1cd3",
"realmId" : "cc9c1fac-e4a9-4b9b-9fd3-568d258434c4",
"name" : "World Wide Imports",
"label" : "WW-Imports-271",
"identityProviders" : [ {
"id" : "194756ea-4465-4c57-95b5-0e63a26b2eec",
"organizationId" : "ef39ba8e-88eb-4224-aaca-b8aba93a1cd3",
"auth0ConnectionId" : "auth0-opaque-connectionId-272",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 383681000,
"epochSecond" : 1759492914
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "07103774-69fa-4964-9942-0fc2f6ab11fd",
"organizationId" : "ef39ba8e-88eb-4224-aaca-b8aba93a1cd3",
"auth0ConnectionId" : "auth0-opaque-connection",
"name" : "Corp SAML",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 427712000,
"epochSecond" : 1759492914
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 382083000,
"epochSecond" : 1759492914
},
"updatedAt" : null,
"deletedBy" : null,
"deletedAt" : null,
"deleted" : false
}
OIDC Issuers
Find Oidc Issuers
GET /oidc-issuers
Response fields
Standard paging response where content
field is list of following objects:
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
issuer |
String |
true |
|
jwksUri |
String |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/oidc-issuers' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1219
[ {
"id" : "4ba745ea-81c8-403a-8d62-3a71d01faedc",
"issuer" : "https://f939c510-e2ca-4520-8063-f410361f75b8.issuer.idp",
"jwksUri" : "https://f939c510-e2ca-4520-8063-f410361f75b8.issuer.idp/jwks",
"active" : true,
"createdBy" : "8da9c37b-fac1-4946-b81e-2d380f545874",
"createdAt" : {
"nano" : 630897000,
"epochSecond" : 1759492911
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "5b2600c4-ac62-492a-a131-fd803763ab7b",
"issuer" : "https://0f486604-c0d2-4d96-9d33-fff7fca24023.issuer.idp",
"jwksUri" : "https://0f486604-c0d2-4d96-9d33-fff7fca24023.issuer.idp/jwks",
"active" : true,
"createdBy" : "54522588-1d0a-4751-a2fa-f651de3743d7",
"createdAt" : {
"nano" : 398015000,
"epochSecond" : 1759492911
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "6c72dba0-a155-4804-9a70-89da12149793",
"issuer" : "https://accounts.google.com",
"jwksUri" : "https://www.googleapis.com/oauth2/v3/certs",
"active" : true,
"createdBy" : "2b6f496d-36f1-4e66-a205-8abcf1d41d74",
"createdAt" : {
"nano" : 682397000,
"epochSecond" : 1759492854
},
"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/806471c1-ed40-404f-85cc-ceadd8b037c0' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 419
{
"id" : "806471c1-ed40-404f-85cc-ceadd8b037c0",
"issuer" : "https://96d27371-fd14-4b28-9a1f-4b4276bf8912.issuer.idp",
"jwksUri" : "https://96d27371-fd14-4b28-9a1f-4b4276bf8912.issuer.idp/jwks",
"active" : true,
"createdBy" : "44b5e965-ecab-4f97-bcfc-fdcccae7b4e2",
"createdAt" : {
"nano" : 307892000,
"epochSecond" : 1759492912
},
"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://0aba4215-4fb2-4902-a2d2-b81ce82d9b96.issuer.idp",
"jwksUri" : "https://0aba4215-4fb2-4902-a2d2-b81ce82d9b96.issuer.idp/jwks",
"active" : true
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 419
{
"id" : "f91b0a58-6da4-4db4-a255-bae279c2147d",
"issuer" : "https://0aba4215-4fb2-4902-a2d2-b81ce82d9b96.issuer.idp",
"jwksUri" : "https://0aba4215-4fb2-4902-a2d2-b81ce82d9b96.issuer.idp/jwks",
"active" : true,
"createdBy" : "340453c8-7e6b-4a55-b1ee-9caa27b473fb",
"createdAt" : {
"nano" : 259452000,
"epochSecond" : 1759492912
},
"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/f01980e1-df6f-4da6-a07c-ecc70a5d9fe9' -i -X PATCH \
-H 'Content-Type: application/json' \
-d '{
"issuer" : "https://f17d0363-d534-4df2-95ab-d8e612b907cc.issuer.idp",
"jwksUri" : "https://f17d0363-d534-4df2-95ab-d8e612b907cc.issuer.idp/jwks",
"active" : false
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 420
{
"id" : "f01980e1-df6f-4da6-a07c-ecc70a5d9fe9",
"issuer" : "https://f17d0363-d534-4df2-95ab-d8e612b907cc.issuer.idp",
"jwksUri" : "https://f17d0363-d534-4df2-95ab-d8e612b907cc.issuer.idp/jwks",
"active" : false,
"createdBy" : "83143fea-8e08-4db1-bd19-169a09616a0a",
"createdAt" : {
"nano" : 183566000,
"epochSecond" : 1759492912
},
"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/fe92ba56-4f10-4ca3-8ea6-91b71d6f7b08' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 508
{
"id" : "fe92ba56-4f10-4ca3-8ea6-91b71d6f7b08",
"issuer" : "https://2e4625c3-fef9-4368-baa7-5d6a1ea49da4.issuer.idp",
"jwksUri" : "https://2e4625c3-fef9-4368-baa7-5d6a1ea49da4.issuer.idp/jwks",
"active" : true,
"createdBy" : "5d267d88-77da-44c3-949b-0247b188fcd9",
"createdAt" : {
"nano" : 361150000,
"epochSecond" : 1759492912
},
"deletedAt" : {
"nano" : 371421000,
"epochSecond" : 1759492912
},
"deletedBy" : "f4acec4e-1afd-41d7-bd8f-cf8c0ef04032",
"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" : 683743000,
"epochSecond" : 1759492854
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "82ac1082-5bef-4c3b-a339-4ca7b09df7ea",
"oidcIssuerId" : "c7631a6b-186b-48b2-a558-b19e069ea8dc",
"clientId" : "clientId-3d35e5e8-05f9-4540-a261-0aa621d0f622",
"clientSecret" : "clientSecret-5c22027b-db69-41f6-ac38-dfb64b45dca5",
"authorizationEndpoint" : "https://5b27eef8-b9c9-429f-be54-8dba01ca8d77.issuer.idp/authorize",
"tokenEndpoint" : "https://5b27eef8-b9c9-429f-be54-8dba01ca8d77.issuer.idp/token",
"userInfoEndpoint" : "https://5b27eef8-b9c9-429f-be54-8dba01ca8d77.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "689de8ca-1871-4ba6-99ec-d0b15dc50b79",
"createdAt" : {
"nano" : 459320000,
"epochSecond" : 1759492912
},
"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" : 683743000,
"epochSecond" : 1759492854
},
"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/69cf4a1f-7b89-4833-9c62-ccefbfdba35d' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 776
{
"id" : "69cf4a1f-7b89-4833-9c62-ccefbfdba35d",
"oidcIssuerId" : "4990a3e4-69c2-4920-a329-95aefcf60651",
"clientId" : "clientId-a55bf824-f594-46d6-be07-c6d8d9d71646",
"clientSecret" : "clientSecret-df40a2a7-e2d3-438d-bb9f-e1bcea873866",
"authorizationEndpoint" : "https://3b2d7465-5eec-425f-996c-fdc233d1768e.issuer.idp/authorize",
"tokenEndpoint" : "https://3b2d7465-5eec-425f-996c-fdc233d1768e.issuer.idp/token",
"userInfoEndpoint" : "https://3b2d7465-5eec-425f-996c-fdc233d1768e.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "f2cd921e-08a0-4c56-8ccd-b874ada4c3f8",
"createdAt" : {
"nano" : 947416000,
"epochSecond" : 1759492912
},
"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" : "b91848c2-d9f4-48c2-9f39-03dedc302b3b",
"clientId" : "clientId-ca1caa71-4fa8-4470-8e43-00295f62838e",
"clientSecret" : "clientSecret-5cfed6b3-0e4a-4814-8a12-c42b982d1c64",
"authorizationEndpoint" : "https://53548f74-5703-4fbf-9c74-2f72a300dfdb.issuer.idp/authorize",
"tokenEndpoint" : "https://53548f74-5703-4fbf-9c74-2f72a300dfdb.issuer.idp/token",
"userInfoEndpoint" : "https://53548f74-5703-4fbf-9c74-2f72a300dfdb.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 776
{
"id" : "ebcf9da2-4323-4fed-95db-a1902e992197",
"oidcIssuerId" : "b91848c2-d9f4-48c2-9f39-03dedc302b3b",
"clientId" : "clientId-ca1caa71-4fa8-4470-8e43-00295f62838e",
"clientSecret" : "clientSecret-5cfed6b3-0e4a-4814-8a12-c42b982d1c64",
"authorizationEndpoint" : "https://53548f74-5703-4fbf-9c74-2f72a300dfdb.issuer.idp/authorize",
"tokenEndpoint" : "https://53548f74-5703-4fbf-9c74-2f72a300dfdb.issuer.idp/token",
"userInfoEndpoint" : "https://53548f74-5703-4fbf-9c74-2f72a300dfdb.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "f107d17f-9c84-4b65-8aed-3772acd3b354",
"createdAt" : {
"nano" : 895596000,
"epochSecond" : 1759492912
},
"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/cd8ff631-c0cf-483a-97d9-36549bfdf08e' -i -X PATCH \
-H 'Content-Type: application/json' \
-d '{
"clientId" : "clientId-0155262f-ee5f-4916-b6db-6d8016421783",
"clientSecret" : "clientSecret-6c323324-4744-42f9-82ea-1aa1a5b28456",
"authorizationEndpoint" : "https://cd488daf-7dfa-4b45-9b15-80a0ed2f8f3b.issuer.idp/authorize",
"tokenEndpoint" : "https://cd488daf-7dfa-4b45-9b15-80a0ed2f8f3b.issuer.idp/token",
"userInfoEndpoint" : "https://cd488daf-7dfa-4b45-9b15-80a0ed2f8f3b.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : false
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 777
{
"id" : "cd8ff631-c0cf-483a-97d9-36549bfdf08e",
"oidcIssuerId" : "07b8867d-1b46-438e-827d-74e7c7d3a732",
"clientId" : "clientId-0155262f-ee5f-4916-b6db-6d8016421783",
"clientSecret" : "clientSecret-6c323324-4744-42f9-82ea-1aa1a5b28456",
"authorizationEndpoint" : "https://cd488daf-7dfa-4b45-9b15-80a0ed2f8f3b.issuer.idp/authorize",
"tokenEndpoint" : "https://cd488daf-7dfa-4b45-9b15-80a0ed2f8f3b.issuer.idp/token",
"userInfoEndpoint" : "https://cd488daf-7dfa-4b45-9b15-80a0ed2f8f3b.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : false,
"createdBy" : "2473c580-810e-4bea-8110-60a4cf9d08e0",
"createdAt" : {
"nano" : 815569000,
"epochSecond" : 1759492912
},
"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/7ebc2e64-2f08-474b-93ce-9527e097d060' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 863
{
"id" : "7ebc2e64-2f08-474b-93ce-9527e097d060",
"oidcIssuerId" : "4d684e92-57b8-4db9-a115-ea23e4096a91",
"clientId" : "clientId-aed2952f-a22c-4a26-a48b-e7aec6177336",
"clientSecret" : "clientSecret-c467c46a-d906-42b8-9368-b8649b4e13e6",
"authorizationEndpoint" : "https://46e9e995-9f82-4769-9c90-ed78ed8448af.issuer.idp/authorize",
"tokenEndpoint" : "https://46e9e995-9f82-4769-9c90-ed78ed8448af.issuer.idp/token",
"userInfoEndpoint" : "https://46e9e995-9f82-4769-9c90-ed78ed8448af.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "508cc8be-0cca-40b8-84c1-69b71f2e6b6d",
"createdAt" : {
"nano" : 994976000,
"epochSecond" : 1759492912
},
"deletedAt" : {
"nano" : 4437000,
"epochSecond" : 1759492913
},
"deletedBy" : "5fb7ead4-d430-4f05-80b6-cc185550299d",
"deleted" : true
}
Organization to OIDC Public Client Mappings
Find Organization Oidc Public Client Mappings
GET /organization-oidc-public-client-mappings
Authorization
This endpoint requires:
-
read
action on thisorganization-oidc-public-client-mapping
resource.
Response fields
Standard paging response where content
field is list of following objects:
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
oidcPublicClientId |
String |
true |
|
name |
String |
true |
|
active |
Boolean |
true |
|
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: 1535
[ {
"id" : "2a2dad4a-39d4-4574-8305-7358bc79df00",
"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" : 229176000,
"epochSecond" : 1759492854
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "43057230-3b9b-436b-9e1f-eb20e2239e1f",
"organizationId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"oidcPublicClientId" : "290cc71d-cbd0-4c44-bf9e-a9d33a7314e6",
"name" : "ACME Federated Active Directory",
"active" : true,
"customQueryParameters" : "{}",
"createdBy" : "5ccb79ad-f3f3-46e6-8ae3-98035db7dee2",
"createdAt" : {
"nano" : 173736000,
"epochSecond" : 1759492858
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "9967990e-b0ef-48fc-8329-c8ca7a6518c3",
"organizationId" : "36d25ca7-d270-45bf-b65f-d2bdaae4b1d1",
"oidcPublicClientId" : "082e3cb0-f010-4e3c-bf2a-ac7b4d0c1bdf",
"name" : "console-client-78822ade-83f9-4928-9b29-45261f2b8b98",
"active" : true,
"customQueryParameters" : "{}",
"createdBy" : "16a3eada-9c31-4365-987b-5449a46ae307",
"createdAt" : {
"nano" : 769658000,
"epochSecond" : 1759492914
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
} ]
Get Organization Oidc Public Client Mapping
GET /organization-oidc-public-client-mappings/{id}
Authorization
This endpoint requires:
-
read
action on thisorganization-oidc-public-client-mapping
resource.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
oidcPublicClientId |
String |
true |
|
name |
String |
true |
|
active |
Boolean |
true |
|
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/cf8a4cbe-1a23-45f9-a57c-5f59e9296f07' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 495
{
"id" : "cf8a4cbe-1a23-45f9-a57c-5f59e9296f07",
"organizationId" : "b6d887c3-4c0a-49a8-85cc-0c1301d5261c",
"oidcPublicClientId" : "2d8be5ba-c367-4ad7-8dcd-f6d72e307857",
"name" : "console-client-d5579d0d-7dbc-4816-b950-943ca1d6d0fa",
"active" : true,
"customQueryParameters" : "{}",
"createdBy" : "04faf943-d259-4e85-9729-e1cddc2220c9",
"createdAt" : {
"nano" : 150527000,
"epochSecond" : 1759492915
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Create Organization Oidc Public Client Mapping
POST /organization-oidc-public-client-mappings
Authorization
This endpoint requires:
-
create
action on thisorganization-oidc-public-client-mapping
resource. -
read
action on theoidc-public-client
resource identified by theoidcPublicClientId
property.
Request fields
Path | Type | Optional | Description |
---|---|---|---|
organizationId |
String |
true |
|
oidcPublicClientId |
String |
true |
|
name |
String |
true |
|
active |
Boolean |
true |
|
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" : "88849a4f-92db-46f7-911e-e07c2d12dc2b",
"oidcPublicClientId" : "74ad41a2-f97f-4113-ac47-35d7c587b8b5",
"name" : "console-client-0cb099c6-9ebf-4edf-a467-0c45cf1a255f",
"active" : true,
"customQueryParameters" : "{}"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 494
{
"id" : "3e237415-0174-4fa4-bbb5-573a7ed86f77",
"organizationId" : "88849a4f-92db-46f7-911e-e07c2d12dc2b",
"oidcPublicClientId" : "74ad41a2-f97f-4113-ac47-35d7c587b8b5",
"name" : "console-client-0cb099c6-9ebf-4edf-a467-0c45cf1a255f",
"active" : true,
"customQueryParameters" : "{}",
"createdBy" : "45581417-091d-401c-abb8-437440ad55a4",
"createdAt" : {
"nano" : 99106000,
"epochSecond" : 1759492915
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Update Organization Oidc Public Client Mapping
PATCH /organization-oidc-public-client-mappings/{id}
Authorization
This endpoint requires:
-
update
action on thisorganization-oidc-public-client-mapping
resource.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Request fields
Path | Type | Optional | Description |
---|---|---|---|
name |
String |
true |
|
active |
Boolean |
true |
|
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/4de95eec-d422-41b3-bbf7-ebb8fac07782' -i -X PATCH \
-H 'Content-Type: application/json' \
-d '{
"name" : "custom-client-b121159e-c28a-4efd-90cd-f3f1b885112f",
"active" : true,
"customQueryParameters" : "{}"
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 493
{
"id" : "4de95eec-d422-41b3-bbf7-ebb8fac07782",
"organizationId" : "d610897a-5342-4c45-85e1-7fcfd5c71705",
"oidcPublicClientId" : "e911a635-71f0-43ef-a4a1-0817f41d2934",
"name" : "custom-client-b121159e-c28a-4efd-90cd-f3f1b885112f",
"active" : true,
"customQueryParameters" : "{}",
"createdBy" : "a5c95e8c-b528-4427-a9e0-26d6ca50d8a2",
"createdAt" : {
"nano" : 23550000,
"epochSecond" : 1759492915
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Delete Organization Oidc Public Client Mapping
DELETE /organization-oidc-public-client-mappings/{id}
Authorization
This endpoint requires:
-
delete
action on thisorganization-oidc-public-client-mapping
resource.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
oidcPublicClientId |
String |
true |
|
name |
String |
true |
|
active |
Boolean |
true |
|
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/aa593929-09eb-4edb-817d-adad96152cd6' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 543
{
"id" : "aa593929-09eb-4edb-817d-adad96152cd6",
"organizationId" : "153ab1bc-5ce8-4851-95eb-749e1748ac00",
"oidcPublicClientId" : "339575c0-8745-496a-8e4d-b8e5e0c43a3b",
"name" : "number two",
"active" : true,
"customQueryParameters" : "{}",
"createdBy" : "6920205f-3d0b-48f7-a0a7-f7bc7ee9b1bb",
"createdAt" : {
"nano" : 208179000,
"epochSecond" : 1759492915
},
"deletedAt" : {
"nano" : 218617000,
"epochSecond" : 1759492915
},
"deletedBy" : "06f886ce-60f5-40bf-b1a4-0e839e13b705",
"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" : "57be4ba4-d694-41ea-96e4-ace396f34778",
"oidcIssuerId" : "cd856108-a542-4431-a3b8-74a14c4ef2a4",
"audience" : "mop-aud-1ede3e75-f226-4118-9757-5debe48a73ee",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "1f6e9c80-d71d-4511-9760-fbec899c0c67",
"createdAt" : {
"nano" : 179044000,
"epochSecond" : 1759492911
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"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" : 690714000,
"epochSecond" : 1759492854
},
"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" : 690714000,
"epochSecond" : 1759492854
},
"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/00745f88-2cdf-416e-8a60-9aa8e6f47622' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 430
{
"id" : "00745f88-2cdf-416e-8a60-9aa8e6f47622",
"oidcIssuerId" : "8639c595-9f39-4354-885d-326a73fe7bc7",
"audience" : "mop-aud-87a353ec-171b-4399-912d-fbe1ae8c0646",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "b9d16e33-89dd-41e2-acff-a5254f8a9a44",
"createdAt" : {
"nano" : 721454000,
"epochSecond" : 1759492911
},
"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" : "4ba745ea-81c8-403a-8d62-3a71d01faedc",
"audience" : "mop-aud-97a61be0-1283-4a36-9d3a-e2e2c5ca725d",
"restrictedToOrganizationIds" : [ ],
"active" : true
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 430
{
"id" : "62a2d1ab-dcbc-4fce-ac3e-7e5802a60b75",
"oidcIssuerId" : "4ba745ea-81c8-403a-8d62-3a71d01faedc",
"audience" : "mop-aud-97a61be0-1283-4a36-9d3a-e2e2c5ca725d",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "7936c023-fca4-4f46-9d40-ade6d89f2cfd",
"createdAt" : {
"nano" : 650619000,
"epochSecond" : 1759492911
},
"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/00c047c2-1012-4883-ae35-1f92036e72db' -i -X PATCH \
-H 'Content-Type: application/json' \
-d '{
"audience" : "mop-aud-d42df63a-f550-4ebb-aba7-3dabf42e3349",
"restrictedToOrganizationIds" : [ ],
"active" : false
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 431
{
"id" : "00c047c2-1012-4883-ae35-1f92036e72db",
"oidcIssuerId" : "ef5ffcc2-128a-4905-b178-dc0887f470d1",
"audience" : "mop-aud-d42df63a-f550-4ebb-aba7-3dabf42e3349",
"restrictedToOrganizationIds" : [ ],
"active" : false,
"createdBy" : "b2919a52-daa6-49ac-9c15-2bf703650076",
"createdAt" : {
"nano" : 538947000,
"epochSecond" : 1759492911
},
"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/2169d181-ce5b-46a8-a3d5-91d7062cfe21' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 519
{
"id" : "2169d181-ce5b-46a8-a3d5-91d7062cfe21",
"oidcIssuerId" : "9b410560-7318-405c-b682-7d3df5766779",
"audience" : "mop-aud-8cd35100-7403-4240-9434-7b43c68f8301",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "b528657e-6b16-46a8-b88c-761b166c3087",
"createdAt" : {
"nano" : 776158000,
"epochSecond" : 1759492911
},
"deletedAt" : {
"nano" : 786604000,
"epochSecond" : 1759492911
},
"deletedBy" : "d1a9a9ac-8beb-4691-9127-08362a4635ed",
"deleted" : true
}
User Identity to OIDC Audience Mappings
Find User Identity Audience Mappings
GET /user-identity-oidc-audience-mappings
Authorization
This endpoint requires:
-
read
action on thisuser-identity-oidc-audience-mapping
resource.
Response fields
Standard paging response where content
field is list of following objects:
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
userIdentityId |
String |
true |
|
oidcAudienceId |
String |
true |
|
subject |
String |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identity-oidc-audience-mappings' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 3
[ ]
Get User Identity Audience Mapping
GET /user-identity-oidc-audience-mappings/{id}
Authorization
This endpoint requires:
-
read
action on thisuser-identity-oidc-audience-mapping
resource.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
userIdentityId |
String |
true |
|
oidcAudienceId |
String |
true |
|
subject |
String |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identity-oidc-audience-mappings/ae984302-4153-431f-8db9-bb4aa2aa3c31' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 460
{
"id" : "ae984302-4153-431f-8db9-bb4aa2aa3c31",
"userIdentityId" : "d374921a-543d-4555-8b46-048731019d28",
"oidcAudienceId" : "b29721cb-019f-4c26-acea-eff288b076a5",
"subject" : "console-client-1405cb04-cb22-45d7-935d-eedab2364ad7",
"active" : true,
"createdBy" : "e9aa80ba-93c6-4add-bef3-53a6160fb848",
"createdAt" : {
"nano" : 113283000,
"epochSecond" : 1759492923
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Create User Identity Audience Mapping
POST /user-identity-oidc-audience-mappings
Authorization
This endpoint requires:
-
create
action on thisuser-identity-oidc-audience-mapping
resource. -
create-identity-mapping
action on theuser-identity
resource identified by theuserIdentityId
property. -
read
action on theoidc-audience
resource identified by theoidcAudienceId
property.
Request fields
Path | Type | Optional | Description |
---|---|---|---|
userIdentityId |
String |
true |
|
oidcAudienceId |
String |
true |
|
subject |
String |
true |
|
active |
Boolean |
true |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
userIdentityId |
String |
true |
|
oidcAudienceId |
String |
true |
|
subject |
String |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identity-oidc-audience-mappings' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"userIdentityId" : "d57862d4-556f-445c-a74b-dafea7d442bb",
"oidcAudienceId" : "7c2c778b-903f-4b58-874b-3be9cdaaa13e",
"subject" : "console-client-c3f62b41-f87d-4312-b544-359626f1e54e",
"active" : true
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 460
{
"id" : "f2853fcb-07a2-4327-ac4d-f2f4105ff776",
"userIdentityId" : "d57862d4-556f-445c-a74b-dafea7d442bb",
"oidcAudienceId" : "7c2c778b-903f-4b58-874b-3be9cdaaa13e",
"subject" : "console-client-c3f62b41-f87d-4312-b544-359626f1e54e",
"active" : true,
"createdBy" : "497d2ad1-9d76-4a1f-a0c7-01750045efa6",
"createdAt" : {
"nano" : 994196000,
"epochSecond" : 1759492922
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Update User Identity Audience Mapping
PATCH /user-identity-oidc-audience-mappings/{id}
Authorization
This endpoint requires:
-
update
action on thisuser-identity-oidc-audience-mapping
resource.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Request fields
Path | Type | Optional | Description |
---|---|---|---|
active |
Boolean |
true |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
userIdentityId |
String |
true |
|
oidcAudienceId |
String |
true |
|
subject |
String |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identity-oidc-audience-mappings/48e2b3c4-a816-4e11-95d0-e51d6b23dc4a' -i -X PATCH \
-H 'Content-Type: application/json' \
-d '{
"active" : false
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 461
{
"id" : "48e2b3c4-a816-4e11-95d0-e51d6b23dc4a",
"userIdentityId" : "4a93a29b-942f-4ca9-9972-edf51784befc",
"oidcAudienceId" : "b597c4ab-387e-478e-ba8f-e2a17d4ce4dd",
"subject" : "console-client-12a62f17-1a56-4662-b87a-45a17fb2fe6c",
"active" : false,
"createdBy" : "0f70e9ca-c31c-4e01-a328-813a51ee038e",
"createdAt" : {
"nano" : 660206000,
"epochSecond" : 1759492922
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Delete User Identity Audience Mapping
DELETE /user-identity-oidc-audience-mappings/{id}
Authorization
This endpoint requires:
-
delete
action on thisuser-identity-oidc-audience-mapping
resource.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
userIdentityId |
String |
true |
|
oidcAudienceId |
String |
true |
|
subject |
String |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identity-oidc-audience-mappings/f870bb65-6717-4f3b-ab8e-c9aeffe4b696' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 549
{
"id" : "f870bb65-6717-4f3b-ab8e-c9aeffe4b696",
"userIdentityId" : "29365ae8-2348-4346-b468-4f04fd0bce99",
"oidcAudienceId" : "6b630954-f20f-427f-b33b-cfc0daed03eb",
"subject" : "console-client-300e0c26-d8ac-4f55-8095-08ffb7fd0864",
"active" : true,
"createdBy" : "59c9c55a-b70e-4a7d-967d-d825b6b83973",
"createdAt" : {
"nano" : 172786000,
"epochSecond" : 1759492923
},
"deletedAt" : {
"nano" : 183747000,
"epochSecond" : 1759492923
},
"deletedBy" : "265bf06d-6fba-4ccd-9e31-3a6e4796921b",
"deleted" : true
}
Identity Providers
Find Identity Providers
GET /identity-providers
Query parameters
Supports standard paging query parameters.
Parameter | Type | Optional | Description |
---|---|---|---|
name |
String |
true |
|
organizationId |
Object |
true |
|
auth0ConnectionId |
Object |
true |
|
auth0ConnectionType |
Object |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
active |
Boolean |
true |
|
deleted |
Object |
true |
Response fields
Standard paging response where content
field is list of following objects:
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
auth0ConnectionId |
String |
true |
|
name |
String |
true |
|
auth0ConnectionType |
String |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identity-providers' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1149
[ {
"id" : "0d15931e-e0e8-42d8-b3f3-099af5d7fe2a",
"organizationId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"auth0ConnectionId" : "auth0-opaque-connectionId-3",
"name" : "ACME Federated Active Directory",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 70853000,
"epochSecond" : 1759492858
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "1a6da2f0-47dc-47ff-aea6-3d82ec783614",
"organizationId" : "11d2184f-1267-4a4d-9fae-5732ceb82164",
"auth0ConnectionId" : "auth0-opaque-connectionId-72",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 103165000,
"epochSecond" : 1759492905
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "2a2dad4a-39d4-4574-8305-7358bc79df00",
"organizationId" : "f86122fb-316b-4427-8c38-248165bf4504",
"auth0ConnectionId" : "google-oauth2",
"name" : "NFSUPPORT Google Account",
"auth0ConnectionType" : "Social",
"active" : true,
"createdAt" : {
"nano" : 229176000,
"epochSecond" : 1759492854
},
"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/0d15931e-e0e8-42d8-b3f3-099af5d7fe2a' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 393
{
"id" : "0d15931e-e0e8-42d8-b3f3-099af5d7fe2a",
"organizationId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"auth0ConnectionId" : "auth0-opaque-connectionId-3",
"name" : "ACME Federated Active Directory",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 70853000,
"epochSecond" : 1759492858
},
"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" : "7841b0c7-4b8f-437b-9fab-9268631103ef",
"auth0ConnectionId" : "auth0-opaque-connection",
"name" : "Corp SAML",
"auth0ConnectionType" : "Enterprise"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 368
{
"id" : "c46325c2-7efa-48fa-988d-3519d759ed2c",
"organizationId" : "7841b0c7-4b8f-437b-9fab-9268631103ef",
"auth0ConnectionId" : "auth0-opaque-connection",
"name" : "Corp SAML",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 507749000,
"epochSecond" : 1759492909
},
"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/c3b3e493-bb0c-4e9c-9acf-fa70fc3d5bd4' -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" : "c3b3e493-bb0c-4e9c-9acf-fa70fc3d5bd4",
"organizationId" : "d730a9f3-598a-4a56-8545-86adee8e3808",
"auth0ConnectionId" : "auth0-opaque-connectionId-226",
"name" : "New IdP Name",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 892180000,
"epochSecond" : 1759492909
},
"updatedAt" : {
"nano" : 921380000,
"epochSecond" : 1759492909
},
"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/728be005-b5f8-4d84-b3c0-5f555ec3958e/activate' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 380
{
"id" : "728be005-b5f8-4d84-b3c0-5f555ec3958e",
"organizationId" : "aac2becc-2f26-4490-8ebb-4acdefd0ef4f",
"auth0ConnectionId" : "auth0-opaque-connectionId-220",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 608621000,
"epochSecond" : 1759492909
},
"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/155c9a14-6c5c-446a-960b-c9325d9931d9' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 492
{
"id" : "155c9a14-6c5c-446a-960b-c9325d9931d9",
"organizationId" : "fc0eac8b-9ca9-428b-8eb4-bba22bb99ec0",
"auth0ConnectionId" : "auth0-opaque-connectionId-224",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 808485000,
"epochSecond" : 1759492909
},
"updatedAt" : {
"nano" : 827643000,
"epochSecond" : 1759492909
},
"deletedAt" : {
"nano" : 826000000,
"epochSecond" : 1759492909
}
}
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: 1380
[ {
"id" : "25121035-64a4-4fe6-87ae-5087ba30c93a",
"organizationId" : "cc2433a9-c951-4a30-a57f-c23567fe7b87",
"name" : "Network Group Admin - NF Support (NFSUP) Network Group",
"roleType" : "Standard",
"roleId" : "cf53e966-a3ad-4e80-a5fc-380fe8d48e57",
"createdBy" : "2b6f496d-36f1-4e66-a205-8abcf1d41d74",
"createdAt" : {
"nano" : 301447000,
"epochSecond" : 1759492854
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "2752791a-4288-4db2-bd23-179474822ed4",
"organizationId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"name" : "Custom Role - 779b2e74-0b88-4265-9c1b-f2ac4ad6c843",
"roleType" : "Custom",
"roleId" : "779b2e74-0b88-4265-9c1b-f2ac4ad6c843",
"createdBy" : "0b6b48b9-8464-4dfc-a3e1-5f1305c9a618",
"createdAt" : {
"nano" : 232725000,
"epochSecond" : 1759492858
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "32ab19a6-ce80-4bff-8217-a24aed8484b3",
"organizationId" : "01b2d0dd-a42c-4f7f-98fa-1472651924bc",
"name" : "Standard Role - bf4ecd2b-4c4a-452f-84a4-889ceefec3dd",
"roleType" : "Standard",
"roleId" : "bf4ecd2b-4c4a-452f-84a4-889ceefec3dd",
"createdBy" : "b7651fc4-3cc4-45cb-8ef4-bbf32bb9ed12",
"createdAt" : {
"nano" : 786477000,
"epochSecond" : 1759492904
},
"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/f32ce0c7-1e83-4fa2-8d35-8007ad783ae4' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 458
{
"id" : "f32ce0c7-1e83-4fa2-8d35-8007ad783ae4",
"organizationId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"name" : "Standard Role - d14a86fa-a2b7-4d80-9f21-3b50fe0f1e11",
"roleType" : "Standard",
"roleId" : "d14a86fa-a2b7-4d80-9f21-3b50fe0f1e11",
"createdBy" : "edb62d1e-a76e-4f3a-a128-d2ffc9a6bb1e",
"createdAt" : {
"nano" : 213224000,
"epochSecond" : 1759492858
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Create Default Role
POST /default-roles
Authorization
This endpoint requires:
-
create
action on thisdefault-role
resource. -
update
action on theorganization
resource identified by theorganization
property.
Request fields
Path | Type | Optional | Description |
---|---|---|---|
organizationId |
String |
true |
|
roleType |
String |
true |
Must be one of [Standard, Custom]. |
roleId |
String |
true |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
name |
String |
true |
|
roleType |
String |
true |
Must be one of [Standard, Custom]. |
roleId |
String |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/default-roles' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"organizationId" : "5a1b5ef5-d4d7-4941-96a2-209c635e80c7",
"roleType" : "Standard",
"roleId" : "d0c5c842-abf7-47c4-998b-f32125308f75"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 458
{
"id" : "9c019228-4457-4a81-a738-f84d11295bda",
"organizationId" : "5a1b5ef5-d4d7-4941-96a2-209c635e80c7",
"name" : "Standard Role - d0c5c842-abf7-47c4-998b-f32125308f75",
"roleType" : "Standard",
"roleId" : "d0c5c842-abf7-47c4-998b-f32125308f75",
"createdBy" : "1d8a9553-03d9-4290-8554-2331bf5e09fa",
"createdAt" : {
"nano" : 369205000,
"epochSecond" : 1759492905
},
"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/91c51972-e819-4070-9a62-d8bbe44ff5c4' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 545
{
"id" : "91c51972-e819-4070-9a62-d8bbe44ff5c4",
"organizationId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"name" : "Standard Role - e3fedb7c-8074-4e45-b663-2095d1ea22b2",
"roleType" : "Standard",
"roleId" : "e3fedb7c-8074-4e45-b663-2095d1ea22b2",
"createdBy" : "cf160ef2-3d96-4e01-86c3-a1ace6a539b3",
"createdAt" : {
"nano" : 43196000,
"epochSecond" : 1759492905
},
"deletedAt" : {
"nano" : 53000000,
"epochSecond" : 1759492905
},
"deletedBy" : "c77fe0bd-995f-4378-b048-94da74ef136c",
"deleted" : true
}
Grant Default Role
POST /default-roles/{id}/grant
Authorization
This endpoint requires:
-
read
action on thisdefault-role
resource. -
create
action on theinvitation
resource identified by theorganization
property.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Request fields
No request body.
Response fields
No response body.
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/default-roles/32ab19a6-ce80-4bff-8217-a24aed8484b3/grant' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"includeIdentityIds" : [ "4a54f7a1-9bb0-4035-b488-e2677ae49a7c", "c7f3183e-1d74-4227-a5a8-cd07a01b80b4", "faad8b5c-f6cb-4040-ac20-37fe75cde6a7" ],
"excludeIdentityIds" : [ "0565a40c-1c6b-4306-b8a3-bc595aa8f042", "c7f3183e-1d74-4227-a5a8-cd07a01b80b4", "faad8b5c-f6cb-4040-ac20-37fe75cde6a7" ]
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 51
{
"4a54f7a1-9bb0-4035-b488-e2677ae49a7c" : 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" : "e6b4ed08-570c-414f-854e-a00568bc8702",
"organizationId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"firstName" : "First",
"lastName" : "Last",
"email" : "random-356@acme.com",
"identityMappings" : [ {
"id" : "74c31895-1ad1-4602-b861-0cdbdaadb660",
"auth0UserId" : "auth0-opaque-userId-357",
"identityProviderId" : "0d15931e-e0e8-42d8-b3f3-099af5d7fe2a",
"userIdentityId" : "e6b4ed08-570c-414f-854e-a00568bc8702"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 460537000,
"epochSecond" : 1759492921
},
"deletedAt" : null,
"tenantId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"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/c081b7a0-9971-4d27-b94e-90dffa5f3255' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 710
{
"id" : "c081b7a0-9971-4d27-b94e-90dffa5f3255",
"organizationId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"firstName" : "John",
"lastName" : "Doe",
"email" : "john.doe@acme.com",
"identityMappings" : [ {
"id" : "c6f5ecf0-df20-4af1-9732-ff02cbdadbdd",
"auth0UserId" : "auth0-opaque-userId-5",
"identityProviderId" : "0d15931e-e0e8-42d8-b3f3-099af5d7fe2a",
"userIdentityId" : "c081b7a0-9971-4d27-b94e-90dffa5f3255"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 278774000,
"epochSecond" : 1759492858
},
"deletedAt" : null,
"tenantId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"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" : "0565a40c-1c6b-4306-b8a3-bc595aa8f042",
"organizationId" : "01b2d0dd-a42c-4f7f-98fa-1472651924bc",
"firstName" : "First",
"lastName" : "Last",
"email" : "random-62@acme.com",
"identityMappings" : [ {
"id" : "174b06d0-128e-452d-91bd-7420136eeba7",
"auth0UserId" : "auth0-opaque-userId-63",
"identityProviderId" : "465b267a-d3de-4371-a421-7ecb7dc79385",
"userIdentityId" : "0565a40c-1c6b-4306-b8a3-bc595aa8f042"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 782626000,
"epochSecond" : 1759492904
},
"deletedAt" : null,
"tenantId" : "01b2d0dd-a42c-4f7f-98fa-1472651924bc",
"name" : "First Last",
"type" : "UserIdentity"
}, {
"id" : "196b5c69-aa26-4940-af99-38152a6d1a2d",
"organizationId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"firstName" : "Bobby",
"lastName" : "White",
"email" : "bobby.white@acme.com",
"identityMappings" : [ {
"id" : "bc38202e-c1fe-4c44-93f5-0ad04e633c80",
"auth0UserId" : "auth0-opaque-userId-99",
"identityProviderId" : "0d15931e-e0e8-42d8-b3f3-099af5d7fe2a",
"userIdentityId" : "196b5c69-aa26-4940-af99-38152a6d1a2d"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 650899000,
"epochSecond" : 1759492905
},
"deletedAt" : null,
"tenantId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"name" : "Bobby White",
"type" : "UserIdentity"
}, {
"id" : "19b51d36-6728-40c5-a6f8-357c88c1951b",
"organizationId" : "25957d2a-9130-4bfe-9285-502670db599b",
"firstName" : "First",
"lastName" : "Last",
"email" : "random-96@acme.com",
"identityMappings" : [ {
"id" : "b770745c-4b86-4865-84a3-85d1339fc1e2",
"auth0UserId" : "auth0-opaque-userId-97",
"identityProviderId" : "7afacbc5-74fa-492d-875d-cf2d2d2522d8",
"userIdentityId" : "19b51d36-6728-40c5-a6f8-357c88c1951b"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 493397000,
"epochSecond" : 1759492905
},
"deletedAt" : null,
"tenantId" : "25957d2a-9130-4bfe-9285-502670db599b",
"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/c081b7a0-9971-4d27-b94e-90dffa5f3255' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 710
{
"id" : "c081b7a0-9971-4d27-b94e-90dffa5f3255",
"organizationId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"firstName" : "John",
"lastName" : "Doe",
"email" : "john.doe@acme.com",
"identityMappings" : [ {
"id" : "c6f5ecf0-df20-4af1-9732-ff02cbdadbdd",
"auth0UserId" : "auth0-opaque-userId-5",
"identityProviderId" : "0d15931e-e0e8-42d8-b3f3-099af5d7fe2a",
"userIdentityId" : "c081b7a0-9971-4d27-b94e-90dffa5f3255"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 278774000,
"epochSecond" : 1759492858
},
"deletedAt" : null,
"tenantId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"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/0d15931e-e0e8-42d8-b3f3-099af5d7fe2a' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 710
{
"id" : "c081b7a0-9971-4d27-b94e-90dffa5f3255",
"organizationId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"firstName" : "John",
"lastName" : "Doe",
"email" : "john.doe@acme.com",
"identityMappings" : [ {
"id" : "c6f5ecf0-df20-4af1-9732-ff02cbdadbdd",
"auth0UserId" : "auth0-opaque-userId-5",
"identityProviderId" : "0d15931e-e0e8-42d8-b3f3-099af5d7fe2a",
"userIdentityId" : "c081b7a0-9971-4d27-b94e-90dffa5f3255"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 278774000,
"epochSecond" : 1759492858
},
"deletedAt" : null,
"tenantId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"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" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"firstName" : "Jane",
"lastName" : "Doe",
"email" : "jane.doe@acme.com"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 478
{
"id" : "8aff2a2d-33e0-48b6-a594-449074593541",
"organizationId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"firstName" : "Jane",
"lastName" : "Doe",
"email" : "jane.doe@acme.com",
"identityMappings" : [ ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 83766000,
"epochSecond" : 1759492922
},
"deletedAt" : null,
"tenantId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"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/0980cdf7-f5f2-45c8-b9d5-2454af1ae3a3' -i -X PUT \
-H 'Content-Type: application/json' \
-d '{
"firstName" : "Bobby",
"lastName" : "White",
"email" : "bobby.white@acme.com"
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 721
{
"id" : "0980cdf7-f5f2-45c8-b9d5-2454af1ae3a3",
"organizationId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"firstName" : "Bobby",
"lastName" : "White",
"email" : "bobby.white@acme.com",
"identityMappings" : [ {
"id" : "d689261d-746d-482c-9af0-f465c3d45dce",
"auth0UserId" : "auth0-opaque-userId-361",
"identityProviderId" : "0d15931e-e0e8-42d8-b3f3-099af5d7fe2a",
"userIdentityId" : "0980cdf7-f5f2-45c8-b9d5-2454af1ae3a3"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 622863000,
"epochSecond" : 1759492921
},
"deletedAt" : null,
"tenantId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"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/86be1ac5-fc5f-4c8e-b6c4-26b4f700bccc/deactivate' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 719
{
"id" : "86be1ac5-fc5f-4c8e-b6c4-26b4f700bccc",
"organizationId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"firstName" : "First",
"lastName" : "Last",
"email" : "random-362@acme.com",
"identityMappings" : [ {
"id" : "b08b13a6-dc7b-437c-a610-21392026a631",
"auth0UserId" : "auth0-opaque-userId-363",
"identityProviderId" : "0d15931e-e0e8-42d8-b3f3-099af5d7fe2a",
"userIdentityId" : "86be1ac5-fc5f-4c8e-b6c4-26b4f700bccc"
} ],
"identityAudienceMappings" : [ ],
"active" : false,
"createdAt" : {
"nano" : 684746000,
"epochSecond" : 1759492921
},
"deletedAt" : null,
"tenantId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"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/dba73004-7b8d-4bad-9289-4292c24f5704/reset-mfa' -i -X PUT
Example response
HTTP/1.1 200 OK
Map Identity
POST /user-identities/{id}/mapping
Authorization
This endpoint requires:
-
create-identity-mapping
action on thisuser-identity
resource.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Request fields
Path | Type | Optional | Description |
---|---|---|---|
auth0UserId |
String |
true |
|
identityProviderId |
String |
true |
Response fields
No response body.
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities/741fe4ba-d1a7-4c33-93df-418f1fe6b271/mapping' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"auth0UserId" : "new-auth0-userId:a0c362d5-30d0-49d8-8b9e-4ce779fe1d6c",
"identityProviderId" : "e615d262-f9a4-47d7-9873-4cb437180066"
}'
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: 2105
[ {
"id" : "1711da29-3533-4187-bb37-0f777e1440bd",
"organizationId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"auth0ClientId" : "05f6059f-f34a-454a-b5c9-5dc2d2ef7334",
"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" : 358772000,
"epochSecond" : 1759492858
},
"updatedAt" : {
"nano" : 485941000,
"epochSecond" : 1759492859
},
"deletedAt" : null,
"email" : "robot@acme.com",
"tenantId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"type" : "ApiAccountIdentity"
}, {
"id" : "395c935a-2631-421e-b034-e58ed54b2d35",
"organizationId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"auth0ClientId" : null,
"awsCognitoClientId" : "614bb670-db3b-4c4b-97fe-1fb2850841fb|xmiivyoe",
"authenticationUrl" : "https://netfoundry-test-hqolxl.auth.us-east-1.amazoncognito.com/oauth2/token",
"name" : "Testing Limits",
"contactEmail" : "a@acme.com",
"description" : "description",
"active" : true,
"createdAt" : {
"nano" : 850096000,
"epochSecond" : 1759492873
},
"updatedAt" : null,
"deletedAt" : null,
"email" : "a@acme.com",
"tenantId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"type" : "ApiAccountIdentity"
}, {
"id" : "4a84f5d4-8ea0-41b0-9c88-7597d02f823c",
"organizationId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"auth0ClientId" : null,
"awsCognitoClientId" : "b084c12a-9b58-4547-9320-df458ea5f430|oujcskqx",
"authenticationUrl" : "https://netfoundry-test-cyljvv.auth.us-east-1.amazoncognito.com/oauth2/token",
"name" : "Test Rotation",
"contactEmail" : "hr.director@acme.com",
"description" : "description goes here",
"active" : true,
"createdAt" : {
"nano" : 928645000,
"epochSecond" : 1759492862
},
"updatedAt" : {
"nano" : 960348000,
"epochSecond" : 1759492863
},
"deletedAt" : null,
"email" : "hr.director@acme.com",
"tenantId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"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/8815c2e1-3d7a-4d00-8230-281de4d25046' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 718
{
"id" : "8815c2e1-3d7a-4d00-8230-281de4d25046",
"organizationId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"auth0ClientId" : "a39e07e6-a084-45da-87fe-90023c617a47",
"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" : 312623000,
"epochSecond" : 1759492858
},
"updatedAt" : {
"nano" : 392830000,
"epochSecond" : 1759492860
},
"deletedAt" : null,
"email" : "no-reply@acme.com",
"tenantId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"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/192d346c-3d40-4970-b187-e5fef5cc134f' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 682
{
"id" : "f6f1595b-94a0-4463-bc6f-b6a19964ef9b",
"organizationId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"auth0ClientId" : "192d346c-3d40-4970-b187-e5fef5cc134f",
"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" : 723017000,
"epochSecond" : 1759492897
},
"updatedAt" : null,
"deletedAt" : null,
"email" : "service.admin-32@foo.com",
"tenantId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"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" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"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" : "fe527070-47e9-4f09-814b-c50e5ea7a063",
"organizationId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"auth0ClientId" : null,
"awsCognitoClientId" : "b084c12a-9b58-4547-9320-df458ea5f430|clseftlb",
"authenticationUrl" : "https://netfoundry-test-cyljvv.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" : 198594000,
"epochSecond" : 1759492864
},
"updatedAt" : null,
"deletedAt" : null,
"email" : "hr.director@acme.com",
"tenantId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"type" : "ApiAccountIdentity"
},
"clientId" : "clseftlb",
"password" : "hbhajipqtymcxjjwfgfdmdrg",
"authenticationUrl" : "https://netfoundry-test-cyljvv.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/1711da29-3533-4187-bb37-0f777e1440bd' -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" : "1711da29-3533-4187-bb37-0f777e1440bd",
"organizationId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"auth0ClientId" : "05f6059f-f34a-454a-b5c9-5dc2d2ef7334",
"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" : 358772000,
"epochSecond" : 1759492858
},
"updatedAt" : {
"nano" : 485941000,
"epochSecond" : 1759492859
},
"deletedAt" : null,
"email" : "robot@acme.com",
"tenantId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"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/7d0ce66f-e678-469a-abab-7456fbcb9013/deactivate' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 739
{
"id" : "7d0ce66f-e678-469a-abab-7456fbcb9013",
"organizationId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"auth0ClientId" : "059f0256-b548-4d40-9e89-c54534cef14e",
"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" : 504577000,
"epochSecond" : 1759492897
},
"updatedAt" : {
"nano" : 538513000,
"epochSecond" : 1759492897
},
"deletedAt" : null,
"email" : "service.admin-26@foo.com",
"tenantId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"type" : "ApiAccountIdentity"
}
Invitation
Find Invitations
GET /invitations
Query parameters
Supports standard paging query parameters.
Parameter | Type | Optional | Description |
---|---|---|---|
fromIdentityId |
Object |
true |
|
toTenantId |
Object |
true |
Deprecated.. |
toOrganizationId |
Object |
true |
|
invitedEmailAddress |
String |
true |
|
targetIdentityId |
Object |
true |
|
states |
Object |
true |
Must be one of [Open, Accepted, Declined, Expired, Revoked]. |
Response fields
Standard paging response where content
field is list of following objects:
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
fromIdentityId |
String |
true |
|
toOrganizationId |
String |
true |
|
invitedEmailAddress |
String |
true |
|
expiration |
Object |
true |
|
targetUserIdentityId |
String |
true |
|
accepted |
Boolean |
true |
|
revokedAt |
Object |
true |
|
responseReceivedAt |
Object |
true |
|
toTenantId |
String |
true |
Deprecated.. |
state |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/invitations' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 527
[ {
"id" : "de484148-b1e9-4514-a648-dc8b74db6f23",
"fromIdentityId" : "f31fd5f7-488a-49af-a114-c012b91e3021",
"toOrganizationId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"invitedEmailAddress" : "new.employee@acme.com",
"expiration" : {
"nano" : 146056000,
"epochSecond" : 1760097710
},
"targetUserIdentityId" : "4c56769e-eeba-4ed2-901f-aa217b762055",
"accepted" : null,
"revokedAt" : null,
"responseReceivedAt" : null,
"toTenantId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"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/c517bc61-dfa3-439c-bcb2-7d1b273b2121' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 527
{
"id" : "c517bc61-dfa3-439c-bcb2-7d1b273b2121",
"fromIdentityId" : "c081b7a0-9971-4d27-b94e-90dffa5f3255",
"toOrganizationId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"invitedEmailAddress" : "new.employee-236@acme.com",
"expiration" : {
"nano" : 466630000,
"epochSecond" : 1760097710
},
"targetUserIdentityId" : "745946ac-3641-4b08-babb-4c7824bdfef7",
"accepted" : null,
"revokedAt" : null,
"responseReceivedAt" : null,
"toTenantId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"state" : "Open"
}
Create Invitation
POST /invitations
Authorization
This endpoint requires:
-
create
action on thisinvitation
resource. -
read
action on theuser-identity
resource identified by thetargetUserIdentityId
property.
Request fields
Path | Type | Optional | Description |
---|---|---|---|
toOrganizationId |
String |
true |
|
invitedEmailAddress |
String |
true |
|
invitationUrl |
String |
true |
|
targetUserIdentityId |
String |
true |
|
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" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"invitedEmailAddress" : "new.employee@acme.com",
"invitationUrl" : "http://acme.console.netfoundry.io/invitation",
"targetUserIdentityId" : "4c56769e-eeba-4ed2-901f-aa217b762055",
"brandingOrganizationId" : null
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 523
{
"id" : "de484148-b1e9-4514-a648-dc8b74db6f23",
"fromIdentityId" : "f31fd5f7-488a-49af-a114-c012b91e3021",
"toOrganizationId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"invitedEmailAddress" : "new.employee@acme.com",
"expiration" : {
"nano" : 146056000,
"epochSecond" : 1760097710
},
"targetUserIdentityId" : "4c56769e-eeba-4ed2-901f-aa217b762055",
"accepted" : null,
"revokedAt" : null,
"responseReceivedAt" : null,
"toTenantId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"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/e7b1b345-4bf0-4502-8f40-ab66bc84ca9f/decline' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 588
{
"id" : "e7b1b345-4bf0-4502-8f40-ab66bc84ca9f",
"fromIdentityId" : "c081b7a0-9971-4d27-b94e-90dffa5f3255",
"toOrganizationId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"invitedEmailAddress" : "new.employee-233@acme.com",
"expiration" : {
"nano" : 407420000,
"epochSecond" : 1760097710
},
"targetUserIdentityId" : "333f8bed-b1a6-4ab3-86c2-18b10ccd7dbc",
"accepted" : false,
"revokedAt" : null,
"responseReceivedAt" : {
"nano" : 421967000,
"epochSecond" : 1759492910
},
"toTenantId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"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/2a1d3afc-ca6f-4d26-8ddb-adf7c9fb9f57/revoke' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 642
{
"id" : "2a1d3afc-ca6f-4d26-8ddb-adf7c9fb9f57",
"fromIdentityId" : "c081b7a0-9971-4d27-b94e-90dffa5f3255",
"toOrganizationId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"invitedEmailAddress" : "new.employee-239@acme.com",
"expiration" : {
"nano" : 512651000,
"epochSecond" : 1760097710
},
"targetUserIdentityId" : "05601131-49a4-4a28-b14d-ff2e2ed1200b",
"accepted" : null,
"revokedAt" : {
"nano" : 522020000,
"epochSecond" : 1759492910
},
"responseReceivedAt" : {
"nano" : 522024000,
"epochSecond" : 1759492910
},
"toTenantId" : "4946ed1e-b574-4be0-a42c-12f1fdf9e404",
"state" : "Revoked"
}
Support
Create Support Request
POST /nfconsole/support/requests
Authorization
Authorization not required for this request.
Request fields
Path | Type | Optional | Description |
---|---|---|---|
name |
String |
true |
|
String |
true |
||
selectedOrganizationId |
String |
true |
|
selectedNetworkId |
String |
true |
|
subject |
String |
true |
|
comment |
String |
true |
|
type |
String |
true |
Must be one of [problem, incident, question, task]. |
priority |
String |
true |
Must be one of [urgent, high, normal, low]. |
severity |
String |
true |
Must be one of [Severity1, Severity2, Severity3]. |
recentErrorMessages |
Array[String] |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/nfconsole/support/requests' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"name" : "Curious George",
"email" : "george@curious-client.com",
"selectedOrganizationId" : null,
"selectedNetworkId" : null,
"subject" : "Sales Contact Request",
"comment" : "This looks great! I'd like a sales rep to contact me.",
"type" : "question",
"priority" : "high",
"severity" : "Severity3",
"recentErrorMessages" : null
}'
Example response
HTTP/1.1 200 OK
Invitation Flow
Get Invitation By Key
GET /invitations/key/{key:\p{Alnum}{36}}
Authorization
Authorization not required for this request.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
key |
String |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
fromIdentity |
Object |
true |
|
fromIdentity.name |
String |
true |
|
fromIdentity.email |
String |
true |
|
targetIdentity |
Object |
true |
|
targetIdentity.name |
String |
true |
|
targetIdentity.email |
String |
true |
|
invitedEmailAddress |
String |
true |
|
toOrganizationName |
String |
true |
|
toOrganizationLabel |
String |
true |
|
expiration |
Object |
true |
|
accepted |
Boolean |
true |
|
state |
String |
true |
Must be one of [Open, Accepted, Declined, Expired, Revoked]. |
toTenantName |
String |
true |
Deprecated.. |
toTenantLabel |
String |
true |
Deprecated.. |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/invitations/key/PD4uD4CJrLKIVT5WXVsQdiRZ6m8TvOIVtlIE' -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-246@acme.com"
},
"invitedEmailAddress" : "new.employee-248@acme.com",
"toOrganizationName" : "ACME International, Inc.",
"toOrganizationLabel" : "ACME-2",
"expiration" : {
"nano" : 824454000,
"epochSecond" : 1760097710
},
"accepted" : null,
"state" : "Open",
"toTenantName" : "ACME International, Inc.",
"toTenantLabel" : "ACME-2"
}
Decline Invitation
PUT /invitations/key/{key:\p{Alnum}{36}}/decline
Authorization
Authorization not required for this request.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
key |
String |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
fromIdentity |
Object |
true |
|
fromIdentity.name |
String |
true |
|
fromIdentity.email |
String |
true |
|
targetIdentity |
Object |
true |
|
targetIdentity.name |
String |
true |
|
targetIdentity.email |
String |
true |
|
invitedEmailAddress |
String |
true |
|
toOrganizationName |
String |
true |
|
toOrganizationLabel |
String |
true |
|
expiration |
Object |
true |
|
accepted |
Boolean |
true |
|
state |
String |
true |
Must be one of [Open, Accepted, Declined, Expired, Revoked]. |
toTenantName |
String |
true |
Deprecated.. |
toTenantLabel |
String |
true |
Deprecated.. |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/invitations/key/y7BvICq0lA5rlgbuHnFSRDeRLDKGWS6e0DTv/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-243@acme.com"
},
"invitedEmailAddress" : "new.employee-245@acme.com",
"toOrganizationName" : "ACME International, Inc.",
"toOrganizationLabel" : "ACME-2",
"expiration" : {
"nano" : 723929000,
"epochSecond" : 1760097710
},
"accepted" : false,
"state" : "Declined",
"toTenantName" : "ACME International, Inc.",
"toTenantLabel" : "ACME-2"
}
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/HeKjDLNPMsZLifxmBdq1vj6iD5YScB1wGIGn/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.eyJpYXQiOjE3NTk0OTI5MTAsImV4cCI6MTc1OTQ5MzgxMCwiaXNzIjoiaHR0cDovL2xvY2FsaG9zdDo4MDgwL2lkZW50aXR5L3YxIiwiYXVkIjoiaHR0cHM6Ly9uZXRmb3VuZHJ5LXNhbmRib3guYXV0aDAuY29tLyIsImZsb3ciOiJpbnZpdGF0aW9uIiwiaW52aXRhdGlvbklkIjoiMjU2NmExZDItOWYzOC00MGE1LWEwMGItOTkxZDcwMzJhMzdhIiwidGVuYW50TGFiZWwiOiJBQ01FLTIiLCJhdXRoMENvbm5lY3Rpb25JZHMiOlsiYXV0aDAtb3BhcXVlLWNvbm5lY3Rpb25JZC0zIiwiYXV0aDAtb3BhcXVlLWNvbm5lY3Rpb25JZC00Il0sInJlZGlyZWN0VXJsIjoiaHR0cDovL2NvbnNvbGUubmZhZG1pbi5uZXRmb3VuZHJ5LmlvL2ludml0YXRpb24ifQ.lRybF2lLtFLUltOf_9tGYjwYdZbxvYFNQzcjnrWG-U_Dg0uBOfAUhzAKR6yRmo2axdyQKeZe1soOVwsbMbgh5M0IzJOOCMFFUWxx31aPovjDh_WA3feZkpiiI6v9SyD0Hk9HmcUl-MNmgsdor9Fmed_F6MvWdbHqep0d1Bk1i70b8z_xdvqd-U-qoIdBVT7OjEw8mjb7G0npcrQgCKrVz4z0rNxQnI3xYMcp54KuQmDR5t5OtByE7D_HTOBr1OLAt2yZbPyB_uWs9p0xscTfMEgGNJl4NtM21wNaK54t0ON7MTvQiD22tmyva6uuatXS1NdBCDhZiVl0yHzDlrCoxg",
"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.eyJpYXQiOjE3NTk0OTI5MTAsImV4cCI6MTc1OTQ5MzgxMCwiaXNzIjoiaHR0cDovL2xvY2FsaG9zdDo4MDgwL2lkZW50aXR5L3YxIiwiYXVkIjoiaHR0cHM6Ly9uZXRmb3VuZHJ5LXNhbmRib3guYXV0aDAuY29tLyIsImZsb3ciOiJsb2dpbiIsInRlbmFudExhYmVsIjoiQUNNRS0yIiwiYXV0aDBDb25uZWN0aW9uSWRzIjpbImF1dGgwLW9wYXF1ZS1jb25uZWN0aW9uSWQtMyIsImF1dGgwLW9wYXF1ZS1jb25uZWN0aW9uSWQtNCJdLCJyZWRpcmVjdFVybCI6Imh0dHA6Ly9jb25zb2xlLm5mYWRtaW4ubmV0Zm91bmRyeS5pby9pbnZpdGF0aW9uIn0.sruHMUKMyq_X-XwxK-13C8qjr_EBX-EZpxam5LqPyqKegu36XY8RuGCfOuZtkgg1AsRy0RnN9lHPt9sy2FayhC4ZLi9jG0lrB5uJ_yk15_g3aqKUi_kX1WnlUuru8W9NcPr66WhsHlNyeuSKx_vOWUvYLgxAm5O0kBHJEYgPn_66c-siijg09TEg_vkAGZPvE3rExybmmfCXG5oYPFDw5QnKXaz8EjeCnXQE3TZsHRd2NvdMrBZsh_qxI-Utaf3PXO4zdXmT3WlsocUtTyEcQ94FNdKQhs4Lk4FjOyik6zAI5BL5OjN7gHFId6Iuj_b5gY0sXiXiC-RbrQQvk04a2A",
"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: 1281
[ {
"id" : "48161a45-3fa3-4ea6-8e55-6bb088e5e02b",
"userIdentityId" : "91edd6e0-6631-473d-adf3-9d331df41af8",
"preferences" : {
"hello" : "world"
},
"createdBy" : "91edd6e0-6631-473d-adf3-9d331df41af8",
"createdAt" : {
"nano" : 123497000,
"epochSecond" : 1759492907
},
"updatedAt" : {
"nano" : 123497000,
"epochSecond" : 1759492907
},
"deletedBy" : null,
"deletedAt" : null
}, {
"id" : "9671fb57-eb9e-4619-94b5-ec73c57026a9",
"userIdentityId" : "519d46c3-7352-47fa-84d4-781752e36f8c",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "519d46c3-7352-47fa-84d4-781752e36f8c",
"createdAt" : {
"nano" : 920679000,
"epochSecond" : 1759492906
},
"updatedAt" : {
"nano" : 920679000,
"epochSecond" : 1759492906
},
"deletedBy" : null,
"deletedAt" : null
}, {
"id" : "b5546f7f-f5e7-4c78-8639-6b3e69cc847c",
"userIdentityId" : "ec81f389-d0ef-4483-88e5-e3c106b098ab",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "ec81f389-d0ef-4483-88e5-e3c106b098ab",
"createdAt" : {
"nano" : 32614000,
"epochSecond" : 1759492907
},
"updatedAt" : {
"nano" : 32614000,
"epochSecond" : 1759492907
},
"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/bc5e3a25-025d-4305-8d56-ebd6286c22c3' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 415
{
"id" : "bc5e3a25-025d-4305-8d56-ebd6286c22c3",
"userIdentityId" : "b9eb5129-04a1-4161-a8a3-fe8c1ce5371b",
"preferences" : {
"hello" : "world"
},
"createdBy" : "b9eb5129-04a1-4161-a8a3-fe8c1ce5371b",
"createdAt" : {
"nano" : 283294000,
"epochSecond" : 1759492908
},
"updatedAt" : {
"nano" : 283294000,
"epochSecond" : 1759492908
},
"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" : "665f7ce4-cdcc-44ab-b0a7-74517fe96a90",
"userIdentityId" : "23b38097-f572-4805-b79d-ccf9f9e0bc13",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "23b38097-f572-4805-b79d-ccf9f9e0bc13",
"createdAt" : {
"nano" : 563017000,
"epochSecond" : 1759492907
},
"updatedAt" : {
"nano" : 563017000,
"epochSecond" : 1759492907
},
"deletedBy" : null,
"deletedAt" : null
}
Upsert Identity Preference By Id
PUT /identity-preferences/{id:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}}
Authorization
This endpoint requires:
-
create
action on thisidentity-preference
resource. -
update
action on thisidentity-preference
resource.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Request fields
Path | Type | Optional | Description |
---|---|---|---|
userIdentityId |
String |
true |
|
preferences |
Object |
true |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
userIdentityId |
String |
true |
|
preferences |
Object |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identity-preferences/156ed8e9-8c75-4b57-846d-e60bf1456b9d' -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: 428
{
"id" : "156ed8e9-8c75-4b57-846d-e60bf1456b9d",
"userIdentityId" : "f1ab32f5-3d0f-4bd1-9d33-28c4f3a1ba23",
"preferences" : {
"updated" : "my second preference."
},
"createdBy" : "f1ab32f5-3d0f-4bd1-9d33-28c4f3a1ba23",
"createdAt" : {
"nano" : 65000,
"epochSecond" : 1759492909
},
"updatedAt" : {
"nano" : 17496000,
"epochSecond" : 1759492909
},
"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/6a7bf758-c404-41a7-9879-2e0c0124cb17' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 505
{
"id" : "6a7bf758-c404-41a7-9879-2e0c0124cb17",
"userIdentityId" : "33d22d06-2c30-429d-87f1-1577f346b850",
"preferences" : {
"hello" : "world"
},
"createdBy" : "33d22d06-2c30-429d-87f1-1577f346b850",
"createdAt" : {
"nano" : 943214000,
"epochSecond" : 1759492907
},
"updatedAt" : {
"nano" : 953213000,
"epochSecond" : 1759492907
},
"deletedBy" : "3607acd4-ad58-4259-a0a2-129258648b48",
"deletedAt" : {
"nano" : 952000000,
"epochSecond" : 1759492907
}
}
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" : "11d818a5-0781-463e-b6bb-e531bfb41d8d",
"organizationId" : "7f02a9c0-d626-4069-8fa1-80468e298229",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "95f075c5-1457-4769-967b-11d4b6aa9178",
"createdAt" : {
"nano" : 699659000,
"epochSecond" : 1759492915
},
"updatedAt" : {
"nano" : 699659000,
"epochSecond" : 1759492915
},
"deletedBy" : null,
"deletedAt" : null
}, {
"id" : "859acfac-48b7-4ffe-82b9-e71edd540a86",
"organizationId" : "08b11745-6f1f-4cb6-9e78-dad967d919a7",
"preferences" : {
"hello" : "world"
},
"createdBy" : "b173200e-04d2-4614-8f71-e8a4b46c4de2",
"createdAt" : {
"nano" : 574757000,
"epochSecond" : 1759492915
},
"updatedAt" : {
"nano" : 574757000,
"epochSecond" : 1759492915
},
"deletedBy" : null,
"deletedAt" : null
}, {
"id" : "d79f9fa4-09d3-4202-b23e-2a9a626b6c6d",
"organizationId" : "777712f5-2c28-4ed5-bce9-94ca69c73584",
"preferences" : {
"hello" : "world"
},
"createdBy" : "146a4cf2-37d8-4b20-880f-ae5321e2d622",
"createdAt" : {
"nano" : 798576000,
"epochSecond" : 1759492915
},
"updatedAt" : {
"nano" : 798576000,
"epochSecond" : 1759492915
},
"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/d79f9fa4-09d3-4202-b23e-2a9a626b6c6d' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 415
{
"id" : "d79f9fa4-09d3-4202-b23e-2a9a626b6c6d",
"organizationId" : "777712f5-2c28-4ed5-bce9-94ca69c73584",
"preferences" : {
"hello" : "world"
},
"createdBy" : "146a4cf2-37d8-4b20-880f-ae5321e2d622",
"createdAt" : {
"nano" : 798576000,
"epochSecond" : 1759492915
},
"updatedAt" : {
"nano" : 798576000,
"epochSecond" : 1759492915
},
"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" : "7f02a9c0-d626-4069-8fa1-80468e298229",
"preferences" : {
"first" : "my first preference."
}
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 430
{
"id" : "11d818a5-0781-463e-b6bb-e531bfb41d8d",
"organizationId" : "7f02a9c0-d626-4069-8fa1-80468e298229",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "95f075c5-1457-4769-967b-11d4b6aa9178",
"createdAt" : {
"nano" : 699659000,
"epochSecond" : 1759492915
},
"updatedAt" : {
"nano" : 699659000,
"epochSecond" : 1759492915
},
"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/c68b0218-adcc-4982-ac01-201ed9dc1553' -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" : "c68b0218-adcc-4982-ac01-201ed9dc1553",
"organizationId" : "a14a6445-7e84-4e0f-b061-5e8129867297",
"preferences" : {
"updated" : "my second preference."
},
"createdBy" : "3b8d8f28-b17c-4ed8-9f54-26910efb49a1",
"createdAt" : {
"nano" : 970506000,
"epochSecond" : 1759492915
},
"updatedAt" : {
"nano" : 988562000,
"epochSecond" : 1759492915
},
"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/294faa46-20b8-403f-9a08-1c45a9ed8f81' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 505
{
"id" : "294faa46-20b8-403f-9a08-1c45a9ed8f81",
"organizationId" : "ef7cee52-c56d-44f6-990a-5b2d41a5c4ed",
"preferences" : {
"hello" : "world"
},
"createdBy" : "98edcfaf-7605-4868-8e6c-188abe6b0dd1",
"createdAt" : {
"nano" : 743777000,
"epochSecond" : 1759492915
},
"updatedAt" : {
"nano" : 755811000,
"epochSecond" : 1759492915
},
"deletedBy" : "1353c52c-4783-4a98-b37e-83d053dc3492",
"deletedAt" : {
"nano" : 755000000,
"epochSecond" : 1759492915
}
}