404 Error When Successfully Removing User from Organization Using Okta Workflows

I have been scratching my head at what seems like a very specific error.
I can run the delete user from org API call directly (in my case through VS Code REST client).
DELETE https://api.github.com/orgs/{{org}}/memberships/{{username}}
This API will return the expected 204 response, given that it is removing an existing user in the org.
The only headers are the authorization header using an API key, and a User-Agent value.

However, running a direct API call using Okta Workflows with the same configuration (same url and headers) instead produces a 404 result, implying that no resource was found. Despite this error, the user will be successfully removed from the organization. At this moment I an unable to tell if the issue lies on Okta’s side or Github’s side. I have posted the error response that Okta gives when running the API call below.

  "_error": true,
  "retry_count": 0,
  "flo": 196180,
  "method": "Ag2YgleA4",
  "execution": "ce87767c-a75f-41cc-a79e-d4431e6dfb2f",
  "module": "httpfunctions.delete",
  "kind": "HTTP Request Error",
  "statusCode": 404,
  "headers": {
    "content-length": "74",
    "access-control-expose-headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, Deprecation, Sunset",
    "x-oauth-scopes": "admin:org, repo, user, workflow",
    "x-ratelimit-resource": "core",
    "x-ratelimit-used": "5",
    "x-content-type-options": "nosniff",
    "x-ratelimit-reset": "1631197906",
    "x-github-media-type": "github.v3; format=json",
    "x-github-request-id": "3278:71DF:7418C4:119B3A8:613A15BD",
    "strict-transport-security": "max-age=31536000; includeSubdomains; preload",
    "x-ratelimit-limit": "5000",
    "access-control-allow-origin": "*",
    "x-frame-options": "deny",
    "content-type": "application/json; charset=utf-8",
    "x-xss-protection": "0",
    "github-authentication-token-expiration": "2021-12-07 22:02:13 UTC",
    "date": "Thu, 09 Sep 2021 14:10:05 GMT",
    "x-accepted-oauth-scopes": "repo",
    "content-security-policy": "default-src 'none'",
    "referrer-policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
    "vary": "Accept-Encoding, Accept, X-Requested-With",
    "x-ratelimit-remaining": "4995",
    "server": "GitHub.com"
  "body": {
    "message": "Not Found",
    "documentation_url": "https://docs.github.com/rest"
  "message": "404 Not Found",
  "code": 404,
  "description": "HTTP Request Error",
  "steps": 8,
  "source": {
    "flo": "httpfunctions:1.0.11:delete",
    "method": "owKsqCkoMn0",
    "execution": "8e1db340-8386-4a73-a9ef-952b3b814b9e",
    "module": "http.call"
  "_fatal": null