UserClouds logo
Loginapp/Register/Id

Update Login Application

This endpoint updates a login application for the tenant. Only tenant admins can update login applications.

PUT
/loginapp/register/{id}

Path Parameters

idstring
Formatuuid
client_name?string
client_uri?string
contacts?array<string>
grant_types?array<string>
jwks?string
jwks_uri?string
logo_uri?string
policy_uri?string
redirect_uris?array<string>
response_types?array<string>
scope?string
software_id?string
software_statement?string
software_version?string
token_endpoint_auth_method?string
tos_uri?string

Response Body

curl -X PUT "https://your-tenant-name.tenant.userclouds.com/loginapp/register/248df4b7-aa70-47b8-a036-33ac447e668d" \
  -H "Content-Type: application/json" \
  -d '{}'
const body = JSON.stringify({})

fetch("https://your-tenant-name.tenant.userclouds.com/loginapp/register/248df4b7-aa70-47b8-a036-33ac447e668d", {
  body
})
package main

import (
  "fmt"
  "net/http"
  "io/ioutil"
  "strings"
)

func main() {
  url := "https://your-tenant-name.tenant.userclouds.com/loginapp/register/248df4b7-aa70-47b8-a036-33ac447e668d"
  body := strings.NewReader(`{}`)
  req, _ := http.NewRequest("PUT", url, body)
  req.Header.Add("Content-Type", "application/json")
  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  body, _ := ioutil.ReadAll(res.Body)

  fmt.Println(res)
  fmt.Println(string(body))
}
import requests

url = "https://your-tenant-name.tenant.userclouds.com/loginapp/register/248df4b7-aa70-47b8-a036-33ac447e668d"
body = {}
response = requests.request("PUT", url, json = body, headers = {
  "Content-Type": "application/json"
})

print(response.text)
{
  "Metadata": {
    "client_name": "string",
    "client_uri": "string",
    "contacts": [
      "string"
    ],
    "grant_types": [
      "string"
    ],
    "jwks": "string",
    "jwks_uri": "string",
    "logo_uri": "string",
    "policy_uri": "string",
    "redirect_uris": [
      "string"
    ],
    "response_types": [
      "string"
    ],
    "scope": "string",
    "software_id": "string",
    "software_statement": "string",
    "software_version": "string",
    "token_endpoint_auth_method": "string",
    "tos_uri": "string"
  },
  "app_id": "248df4b7-aa70-47b8-a036-33ac447e668d",
  "client_id": "string",
  "client_id_issued_at": "2019-08-24T14:15:22Z",
  "client_secret": "string",
  "client_secret_expires_at": "2019-08-24T14:15:22Z",
  "organization_id": "248df4b7-aa70-47b8-a036-33ac447e668d"
}
Empty
Empty