OAuth

Generate stClientId and stClientSecret

Changed on

Generate new stClientId and stClientSecret for a SmartThings Schema App.

post/schema/oauth/stclient/credentials

Request

Headers

Authorizationstring Bearer token required

Personal Access Token [w:apps:*]

X-ST-Organizationstring organizationId

organizationId

Request body

endpointAppIdstring

SmartThings Schema App id for the partner

Response

Success

endpointAppIdstring uuid
stClientIdstring uuid
stClientSecretstring uuid

Example response

{
  "endpointAppId": "viper_9121f970-f503-11e8-a7de-7319cef9605d",
  "stClientId": "e3fd04cb-c488-4bbd-9759-8deb512656a8",
  "stClientSecret": "02c75d945e69e167233cb635b1f9be76d97ebb0b04f4e6839f3acfad320bed64ab86838dc6312585b037259e7797bf2bb44b3caa7a60539c1f402abe3bbe9256424615fddc48e76823b9c230b15669901becb33711e48192aa54a31e4e287ff47295c61c15e2e046103f13aa250bb561136625b69304cc31ef5004d267d0847184426144c60a74329bb47e2f773469ebb6a1e585175370fda78e03413abbcafe51665e8cbe51adf37dd5a3ff376300ebdbe2a359589951a72867bd3fcc574bd77b9ac85127023f931de3c5bcb213efeab3d94a7ee4a3d20acc6f6e575755b10bceb74290f4182c9bddc407d4361710492611568ebcb0b2ffac09e70d0c977d5f"
}

Changes