POST Codesign/CreateApplication
Creates a blank entry for a signing application in CodeSign Protect.
Requirements
- Permissions: The caller must be a Code Signing Administrator or Code Signing Application Administrator
- Token scope: Codesign:Manage
Headers
-
Content type: Content-Type:application/json.
- Token: The bearer access token that you received. For example, Authorization:Bearer 4MyGeneratedBearerTknz==. For more information, see Passing a bearer token in your API calls.
Parameters
Name |
Description |
---|---|
Dn |
The Distinguished Name (DN) of the signing application. Use the appropriate syntax. For example, in Postman: \\VED\\Code Signing\\Signing Applications\\[YourSgnApp]. |
Returns
Name |
Description |
---|---|
HTTP 200 |
For valid requests, this call returns a HTTP 200 message and the following data in the message body:
|
HTTP 400 |
For invalid requests, this call returns HTTP 400 Bad Request and the following data in the message body:
|
Example: Add a signing application
Request
POST https://codesign.venafi.example/vedsdk/Codesign/CreateApplication Authorization:Bearer 4MyGeneratedBearerTknz== { "Dn": "\\VED\\Code Signing\\Signing Applications\\MySigningApplication" }
Response
HTTP/1.1 200 OK { "Application":{ "Dn":"\\VED\\Code Signing\\Signing Applications\\MySigningApplication", "Guid":"{741a0924-d2ba-4557-930e-b6e826b758c6}", "Id":418 }, "Result":1, "Success":true }