Generate client secret for applications
post
/rest/ofscMetadata/v1/applications/{label}/custom-actions/generateClientSecret
This operation generates client secret of an application based on the specified API label and the application ID while creating the application.
Request
Path Parameters
-
label(required): string
Minimum Length:
1
Maximum Length:255
The unique identifier of the application.
Response
Supported Media Types
- application/json
- application/schema+json
200 Response
This section describes the 200 status response for this operation.
Root Schema : ApplicationClientSecret
Type:
Show Source
object
-
clientSecret:
string
Client secret of an application
Default Response
This section describes the default error response for this operation.
Root Schema : Error
Type:
Show Source
object
-
detail:
string
The detailed description of this error.
-
status:
string
The HTTP status code of this error.
-
title(required):
string
The brief description of this error.
-
type(required):
string
The URL of the web page containing more details about this error.