Welcome to the new Golem Cloud Docs! 👋
Documentation
API Security

Api Security API

Get a security scheme

PathMethodProtected
/v1/api/security/{project_id}/{security_scheme_identifier}GETYes

Get a security scheme by name

Example Response JSON

{
  "providerType": "Google",
  "schemeIdentifier": "string",
  "clientId": "string",
  "clientSecret": "string",
  "redirectUrl": "string",
  "scopes": ["string"]
}

Create a security scheme

PathMethodProtected
/v1/api/security/{project_id}POSTYes

Example Request JSON

{
  "providerType": "Google",
  "schemeIdentifier": "string",
  "clientId": "string",
  "clientSecret": "string",
  "redirectUrl": "string",
  "scopes": ["string"]
}

Example Response JSON

{
  "providerType": "Google",
  "schemeIdentifier": "string",
  "clientId": "string",
  "clientSecret": "string",
  "redirectUrl": "string",
  "scopes": ["string"]
}

Api Security API Errors

Status CodeDescriptionBody
400{"type":"Messages","errors":["string"]}
401{"error":"string"}
403{"error":"string"}
404{"message":"string"}
409"string"
500{"error":"string"}