Auth Credentials

POSThttps://api.laminar.run/auth-credentials
Body
workspaceId*integer (int64)
name*string
authType*string
usernamestring
passwordstring
clientIdstring
clientSecretstring
tokenUrlstring
apiKeystring
tokenstring
authorizationHeaderstring
Response

OK

Body
idinteger (int64)
namestring
authTypestring
Request
const response = await fetch('https://api.laminar.run/auth-credentials', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "authType": "text",
      "name": "text"
    }),
});
const data = await response.json();
Response
{
  "name": "text",
  "authType": "text"
}

PUThttps://api.laminar.run/auth-credentials
Body
authCredentialId*integer (int64)
namestring
authTypestring
usernamestring
passwordstring
clientIdstring
clientSecretstring
tokenUrlstring
apiKeystring
tokenstring
authorizationHeaderstring
Response

OK

Body
idinteger (int64)
namestring
authTypestring
Request
const response = await fetch('https://api.laminar.run/auth-credentials', {
    method: 'PUT',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({}),
});
const data = await response.json();
Response
{
  "name": "text",
  "authType": "text"
}

GEThttps://api.laminar.run/auth-credentials/{id}
Path parameters
id*integer (int64)
Response

OK

Body
idinteger (int64)
namestring
authTypestring
Request
const response = await fetch('https://api.laminar.run/auth-credentials/{id}', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "name": "text",
  "authType": "text"
}

DELETEhttps://api.laminar.run/auth-credentials/{id}
Path parameters
id*integer (int64)
Response

OK

Request
const response = await fetch('https://api.laminar.run/auth-credentials/{id}', {
    method: 'DELETE',
    headers: {},
});
const data = await response.json();