Create a Credential for an Organization

post

/api/v2/organizations/{id}/credentials/

Make a POST request to this resource with the following credential fields to create a new credential associated with this organization.

  • name: Name of this credential. (string, required)
  • description: Optional description of this credential. (string, default="")

  • credential_type: Specify the type of credential you want to create. Refer to the documentation for details on each type. (id, required)

  • inputs: Enter inputs using either JSON or YAML syntax. Refer to the documentation for example syntax. (json, default={})

Request

Supported Media Types
Path Parameters
Body ()
Root Schema : OrganizationCredentialSerializerCreate
Type: object
Show Source
Nested Schema : Inputs
Type: object
Title: Inputs
Enter inputs using either JSON or YAML syntax. Refer to the documentation for example syntax.
Back to Top

Response

Supported Media Types

201 Response

Body ()
Root Schema : OrganizationCredentialSerializerCreate
Type: object
Show Source
Nested Schema : Inputs
Type: object
Title: Inputs
Enter inputs using either JSON or YAML syntax. Refer to the documentation for example syntax.
Back to Top