Change type of agreement
Changes the type of an existing agreement to a different configured type. The target type must exist in the account’s agreement-types collection. Upon successful change, the server recomputes the category based on the new type.
Authentication
AuthorizationBearer
OAuth2 authentication.
- Demo:
- authorizationUrl: https://account-d.docusign.com/oauth/auth
- tokenUrl: https://account-d.docusign.com/oauth/token
- Production:
- authorizationUrl: https://account.docusign.com/oauth/auth
- tokenUrl: https://account.docusign.com/oauth/token
Path parameters
accountId
agreementId
Request
JSON payload specifying the target agreement type.
type
The name of the target agreement type from the agreement-types collection.
Response
The agreement type has been successfully changed. Returns the updated agreement.
id
Unique identifier of the agreement.
title
Title of the agreement.
type
The updated agreement type.
category
Server-recomputed category based on new type.
status
Current status of the agreement.
metadata
_links
Hypermedia links for the agreement.
_actions
Available actions on the agreement.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error