--- title: "/api/applications/{applicationId}" slug: "apiapplicationsapplicationid-8" updated: 2025-08-20T01:02:48Z published: 2026-03-20T12:47:08Z canonical: "docs.grassfish.com/apiapplicationsapplicationid-8" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.grassfish.com/llms.txt > Use this file to discover all available pages before exploring further. # /api/applications/{applicationId} Post/api/applications/{applicationId} SecurityOAuth Authorization using OAuth2 with Client Credentials FlowClient Credentials Authorization URLhttps://identity.eu01.grassfish.com/connect/authorize Token URLhttps://identity.eu01.grassfish.com/connect/token Header parametersx-correlationTokenstring x-clientIdstringMin length0Max length128 x-onBehalfOfstringMin length0Max length24 api-versionstring Path parametersapplicationIdstringRequired Body parametersExpand Allobject codestring | null Min length0Max length22 namestring | null Min length0Max length50 idstring | null Min length0Max length128 scopes Array of object (Contracts.Connect.Parameters.Identities.ModifyApplicationParametersScope) | null object namestring | null descriptionstring | null displayNamestring | null enabledboolean | null identityClients Array of object (Contracts.Connect.Parameters.Identities.ModifyApplicationParametersIdentityClient) | null object clientIdstring | null namestring | null requireConsentboolean requireClientSecretboolean allowOfflineAccessboolean redirectUris Array of string | null string corsOrigins Array of string | null string postLogoutRedirectUris Array of string | null string allowedScopes Array of string | null string allowedGrantTypes Array of string | null string tokenSettingsobject (Contracts.Connect.Parameters.Identities.TokenSettings) accessTokenLifetimeinteger (int32) absoluteRefreshTokenLifetimeinteger (int32) slidingRefreshTokenLifetimeinteger (int32) identityResources Array of object (Contracts.Connect.Parameters.Identities.ModifyApplicationParametersIdentityResource) | null object namestring | null descriptionstring | null displayNamestring | null enabledboolean | null Expand Allobject codestring | null Min length0Max length22 namestring | null Min length0Max length50 idstring | null Min length0Max length128 scopes Array of object (Contracts.Connect.Parameters.Identities.ModifyApplicationParametersScope) | null object namestring | null descriptionstring | null displayNamestring | null enabledboolean | null identityClients Array of object (Contracts.Connect.Parameters.Identities.ModifyApplicationParametersIdentityClient) | null object clientIdstring | null namestring | null requireConsentboolean requireClientSecretboolean allowOfflineAccessboolean redirectUris Array of string | null string corsOrigins Array of string | null string postLogoutRedirectUris Array of string | null string allowedScopes Array of string | null string allowedGrantTypes Array of string | null string tokenSettingsobject (Contracts.Connect.Parameters.Identities.TokenSettings) accessTokenLifetimeinteger (int32) absoluteRefreshTokenLifetimeinteger (int32) slidingRefreshTokenLifetimeinteger (int32) identityResources Array of object (Contracts.Connect.Parameters.Identities.ModifyApplicationParametersIdentityResource) | null object namestring | null descriptionstring | null displayNamestring | null enabledboolean | null Expand Allobject codestring | null Min length0Max length22 namestring | null Min length0Max length50 idstring | null Min length0Max length128 scopes Array of object (Contracts.Connect.Parameters.Identities.ModifyApplicationParametersScope) | null object namestring | null descriptionstring | null displayNamestring | null enabledboolean | null identityClients Array of object (Contracts.Connect.Parameters.Identities.ModifyApplicationParametersIdentityClient) | null object clientIdstring | null namestring | null requireConsentboolean requireClientSecretboolean allowOfflineAccessboolean redirectUris Array of string | null string corsOrigins Array of string | null string postLogoutRedirectUris Array of string | null string allowedScopes Array of string | null string allowedGrantTypes Array of string | null string tokenSettingsobject (Contracts.Connect.Parameters.Identities.TokenSettings) accessTokenLifetimeinteger (int32) absoluteRefreshTokenLifetimeinteger (int32) slidingRefreshTokenLifetimeinteger (int32) identityResources Array of object (Contracts.Connect.Parameters.Identities.ModifyApplicationParametersIdentityResource) | null object namestring | null descriptionstring | null displayNamestring | null enabledboolean | null Responses200 OK Expand Allobject successobject (Contracts.Common.Jsons.Common.SuccessJson) okboolean messagestring | null unauthorizedAccessboolean | null notFoundboolean | null correlationTokenstring | null errors Array of object (Contracts.Common.Jsons.Common.SuccessJsonError) | null object messagestring | null idstring Valid values[ "InvalidDatePeriodEndDateBeforeStartDate", "NameAlreadyTaken", "ExternalIdAlreadyTaken", "CodeAlreadyTaken" ] fieldNamestring | null isRequiredboolean | null isOutOfRangeboolean | null isTakenboolean | null errorCodestring | null defaultDisplayMessagestring | null errorCodestring | null detailsobject (Contracts.Common.Jsons.Common.ErrorDetailsJson) messagestring | null defaultDisplayMessagestring | null applications Array of object (Contracts.Common.Jsons.Refs.ApplicationRefJson) | null object Codestring | null Min length0Max length24 Idstring | null Min length0Max length128 Namestring | null Min length0Max length50 externalIdstring | null Expand Allobject successobject (Contracts.Common.Jsons.Common.SuccessJson) okboolean messagestring | null unauthorizedAccessboolean | null notFoundboolean | null correlationTokenstring | null errors Array of object (Contracts.Common.Jsons.Common.SuccessJsonError) | null object messagestring | null idstring Valid values[ "InvalidDatePeriodEndDateBeforeStartDate", "NameAlreadyTaken", "ExternalIdAlreadyTaken", "CodeAlreadyTaken" ] fieldNamestring | null isRequiredboolean | null isOutOfRangeboolean | null isTakenboolean | null errorCodestring | null defaultDisplayMessagestring | null errorCodestring | null detailsobject (Contracts.Common.Jsons.Common.ErrorDetailsJson) messagestring | null defaultDisplayMessagestring | null applications Array of object (Contracts.Common.Jsons.Refs.ApplicationRefJson) | null object Codestring | null Min length0Max length24 Idstring | null Min length0Max length128 Namestring | null Min length0Max length50 externalIdstring | null Expand Allobject successobject (Contracts.Common.Jsons.Common.SuccessJson) okboolean messagestring | null unauthorizedAccessboolean | null notFoundboolean | null correlationTokenstring | null errors Array of object (Contracts.Common.Jsons.Common.SuccessJsonError) | null object messagestring | null idstring Valid values[ "InvalidDatePeriodEndDateBeforeStartDate", "NameAlreadyTaken", "ExternalIdAlreadyTaken", "CodeAlreadyTaken" ] fieldNamestring | null isRequiredboolean | null isOutOfRangeboolean | null isTakenboolean | null errorCodestring | null defaultDisplayMessagestring | null errorCodestring | null detailsobject (Contracts.Common.Jsons.Common.ErrorDetailsJson) messagestring | null defaultDisplayMessagestring | null applications Array of object (Contracts.Common.Jsons.Refs.ApplicationRefJson) | null object Codestring | null Min length0Max length24 Idstring | null Min length0Max length128 Namestring | null Min length0Max length50 externalIdstring | null 400 Bad Request object typestring | null titlestring | null statusinteger (int32) | null detailstring | null instancestring | null property* object typestring | null titlestring | null statusinteger (int32) | null detailstring | null instancestring | null property* object typestring | null titlestring | null statusinteger (int32) | null detailstring | null instancestring | null property* 401 Unauthorized 403 Forbidden object typestring | null titlestring | null statusinteger (int32) | null detailstring | null instancestring | null property* object typestring | null titlestring | null statusinteger (int32) | null detailstring | null instancestring | null property* object typestring | null titlestring | null statusinteger (int32) | null detailstring | null instancestring | null property* 500 Internal Server Error