POST Codesign/RemoveApplicationAdministrator

Revokes Code Signing Application Administrator rights from a trustee.

Requirements

  • Permissions:  The caller must be a Code Signing Administrator.
  • Integration: In the UI, use an API integration to import a set of scopes that your application will use.

     

  • Content type: Content-Type:application/json.

  • Token scope:  Codesign:Admin

Headers

Parameters

Content type: Content-Type:application/json.

Input parameters

Name

Description

Trustee

The PrefixedUniversal identity of a person or group. To get the value, call POST Identity/Browse.

Returns

Response description

Name

Description

HTTP 200

For valid requests, this call returns a HTTP 200 message and the following data in the message body:

  • Error: Appears only when Success is false. An error message that accompanies the Result. Check your payload input values.

  • Result: The Result code of this API call. For more information, see Sign Result Codes.

  • Success: The result of this API call: A value of false indicates the request failed due to an Error. Otherwise, true.

HTTP 400

For invalid requests, this call returns HTTP 400 Bad Request and the following data in the message body:

  • error: The reason for the error.
  • error_description: If available, additional information about how to retry the request.

Example: Revoke admin rights

Request

POST https://codesign.venafi.example/vedsdk/Codesign/RemoveApplicationAdministrator
Authorization:Bearer 4MyGeneratedBearerTknz==
{
   "Trustee": "PrefixedUniversal:{8772b444-4337-42f9-ac93-8ee40df32f2d"
}

Response

HTTP/1.1 200 OK
{
   "Result": 1,
   "Success": true
}