updateTemplate

PUT
1
/{orgId}/{itemId}/templates/{templateType}/{templateId}

Update a template

Update a template. The adminBasic or adminAdvanced privilege is required.

Request:

ParameterDescriptionData Type
templateIdRequired. The ID of the template to be updated.String
templateTypeRequired. The type of the template to be updated.String

Body:

ParameterDescriptionData Type
templateNameRequired. The new name to give the template.String
templateDetailsRequired. The new information to store in the template.String

Query parameters

NameTypeRequired

token

string

Body parameters

Supported content types: application/json

NameTypeRequiredDescription

The template to be updated

body

The template to be updated

Path parameters

NameTypeRequired

templateId

string

templateType

string

orgId

string

itemId

string

Examples

Request

1
2
3
4
5
6
# You can also use wget
curl -X PUT /{orgId}/{itemId}/templates/{templateType}/{templateId} \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}' \
  --data '{"templateId":"string","templateName":"string","templateDetails":"string"}'

Response

StatusMeaningDescriptionSchema

200

OK

success

Success

404

Not Found

Invalid Template

WorkflowExceptionDTO

500

Internal Server Error

error

WorkflowJsonExceptionDTO

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close